Locales missing RC4

Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 135
Posted: Mon, 2003-11-24 10:38

I downloaded all the locales for RC4, extracted them to the locales folder and during the configuration I get the following:

Warning

There are 14 locales that Gallery was unable to locate. You may need to select manually date formats. 

Dates in 19 languages may not be formatted properly, because the corresponding locales are missing. You may need to select manually the date formats for these.

Why do I get these when it tells me that I have all the files downloaded?

I then set various locales to "english" in the "Locale Selection required" section, and also set all the locales in the "Locale problems" section to "eng".

Finally, I get this error:

Error: Missing value: locale_alias[es_ES]!
Error: Missing value: locale_alias[nl_NL]!
Error: Missing value: locale_alias[pt_PT]!
Error: Missing value: locale_alias[sv_SE]!
Error: Missing value: locale_alias[uk_UA]!

By removing these languages, performing the config again, putting the languages back then manually hacking the CONFIG.PHP, the languages appear to be fine (not that I can really check if they're correct).

I know that running under IIS is not supported, but I'm fairly convinced that this is not the cause.

Taomyn

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Mon, 2003-11-24 10:54

There's a terminology problem here.

The missing locales are missing from your O/S, not your gallery install. There the things that formats dates and numbers in the correct formats. So the warning is that you have languages installed in Gallery that does not have the supporting locales available in Windows.

The second part does look like a problem, so hopefully Jens, our translations specialist, will be able to help you with that.

 
Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 135
Posted: Mon, 2003-11-24 11:01
joan wrote:
There's a terminology problem here.

The missing locales are missing from your O/S, not your gallery install. There the things that formats dates and numbers in the correct formats. So the warning is that you have languages installed in Gallery that does not have the supporting locales available in Windows.

Ah, I see - thanks for clearing that up. I'll put in a request that a future version could list those missing?

Taomyn

 
joan
joan's picture

Joined: 2002-10-21
Posts: 3473
Posted: Mon, 2003-11-24 11:07
Taomyn wrote:
Ah, I see - thanks for clearing that up. I'll put in a request that a future version could list those missing?

Taomyn

Now I'm confused. It does list the missing O/S locales, and we can't list the missing languages, as we have deliberately design Gallery so it doesn't know which languages might exist "out there"

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2003-11-24 14:41

Hi Taomyn,

i am Jens and responsible for the language code in Gallery 1.4.x.

But first i would like to talk a little about posting.
1.) It REALLY helps us if you give us detailed informations about your gallery installation.
Like :
- exact Gallery Version
- Server OS
- Server PHP Version
- Server HTTPD Name and Version
And if you think it might be an browser issue, also
- Client OS
- Client Browser Name and Version

2.) Please be sure what you are talking about.
I dont think i used somewhere the term "locale" when talking about languagepacks.

Okay, now to your problem.
First a little common explanation.

As joan already said here is a kind of terminology.
Locales are files which are needed to make a language working on a System. (independent from Gallery)

So we have System locales where information about currency and date/time format is saved.
And we have some additional files which are also (and only) needed for the Gallery translation.
These are the language packs which resist in the gallery locale folder.
This is done to be analog to the system behaviour.

In your case now Gallery is not able to detect the System locales.
This is not a big problem as they are only needed for date/ime format, so you can substitute them with an existing one.

The error message you are getting was fixed and should not appear when using Gallery 1.4.1-RC4.
Can you please upgrade to this version ?
This should solve your problem.

Regards,

Jens

 
Taomyn
Taomyn's picture

Joined: 2003-11-11
Posts: 135
Posted: Mon, 2003-11-24 23:38

Hello Jens,

A pleasure to make your acquaintance.

[rant]
The reason for the lack of detailed information was that this was a cut'n'paste from my reply I posted as a comment on the front page. I've been in IT support for 20 years and know a little about posting and that it "really" (note the lowercase) and that it "helps" to have detailed info! I can only apologise for leaving it out this time.
[/rant] :wink:

Perhaps comments should be disabled on the front-page for new versions and a new thread started in the forum for each release.

Now for the details you needed (and I forgot :oops: ):

Gallery v1.4.1-RC4
Windows 2000 Server Service Pack 4
PHP v4.3.4 (using ISAPI)
IIS v5

Your call, and yes I know you "don't support Windows", but I was hoping to help you guys out in that area,

Ferd (aka Taomyn)