Can't change language...
martijn17
Joined: 2003-11-10
Posts: 6 |
Posted: Mon, 2003-11-10 22:53 |
Just installed Gallery 1.4.1-RC2. All works fine, but i can't get the language changed. In the Configuration Wizard are three languages available, English, Dutch and French. But whatever mode i use, 1,2 or 3, everything stays in english. Can Anyone tell me what i'm doing wrong? |
|
Posts: 3473
What mode is your Gallery. Look for this in config.php:
$gallery->app->ML_mode = "3";
[Moving to Translation forum]
Posts: 6
It was in mode 2, i've set it to 3 now, but no difference.
Posts: 3473
Yup, there's a problem.
Jens???
Posts: 6818
Hi,
can you give me an URL to a phpinfo ?
Jens
Posts: 6
http://www.durkstra.nl/~hit/gallery/setup/phpinfo.php
Posts: 6818
Thanks,
it seems something strange is going on with your gettext.
i am also a little confused about '--enable-safe-mode'.
Is this your server ?
Jens
Posts: 6
Its an virtual hosted server. The domain is mine. I made an temporary user under the domain called '~hit'.
Posts: 6818
Hi,
we made a fix for RC3, which will be out today (evening ?)
Hopefully this fixes the problem.
Jens
Posts: 6
I hope so, I can't wait!!!! ;-)
Posts: 6818
Hi Martijn,
its me again.
I think i was wrong
The RC3 fixes other problems.
I tried to reproduce the behaviour of your server, but i had no luck.
Is it possible, that i can get access to your server ?
SSh were good, FTP is okay.
Jens
Posts: 6
i've sent you a PM, about this...
Posts: 14
sorry, already commented on the release of rc3, but looking through the code and playing with nls.php got me somewhere, the 'gallery' still is in english (prefered lang is dutch) but the code can't more languages
my system is on freebsd (so no locale -> also no locale -a) but it will find /usr/share/locale with the xx_XX.ISO* files there, but i think it breaks before that on the check what gallery_languages() (util.php) returns, which get's it's data from nls.php
adding below english a line with nl_NL and Nederlands gives me choises (and no more warnings in the first configure screen) and also detects nl_BE and all ISO* standards for nl_NL and nl_BE
does this provide any pointers for someone?
Gallery URL (optional but very useful): http://mail.wilhelmina.org/gallery/
Gallery version: 1.4.1-RC3
Apache version: 2.0.48
PHP Version 4.3.4 RC4
Operating system: FreeBSD 4.9 stable
Posts: 6818
Hi compa,
is there a way i access your gallery in config mode ?
Jens
Posts: 14
i just pm'ed you copies of the output and my changes to nls.php
Posts: 6818
Thanks,
your installation looks fine.
the change in main nls.php is not needed.
Are all files in locale folder readable for the webserver ?
Is this your server ? if yes, can you restart Apache ?
Jens
Posts: 14
sorry, my mistake, went through the whole procedure again .. but the nl_NL pack tgz file unpacked with errors,
corrected it and now it seems to work ....
Posts: 6818
ah )
great to hear this.
I hope you like 1.4.1
If you are interested in updating nederlands translation file ... feel free.
Jens
Posts: 18
I got the same problem here. I upgraded to RC3 and the config wizard says:
"Check to see what languages are available. Warning
It seems you didn't download any additional languages. This is not a problem! Gallery will appear just in English. Note: If this is not true, check that all files in locale folder are readable for the webserver, or contact the Gallery Team."
There are plenty of languages supplied with this release so why doesnt it see them?
Posts: 314
I think I am missing something... the zip file for 1.4.1 RC3 (as well as RC2) doesn't have almost anything under locale/subdirectory. When I ran config wizard it told me that I don't have other languages installed, although I had all the directories from 1.4 installation - apparently it senses that these are old directories?
As result, the gallery comes with English only,
If I force it to use other languages (like I had in 1.4) -
the language comes up, but the only value in the menu is English.
Any suggestions?
Felix
Posts: 3473
Language packs:
http://sourceforge.net/project/showfiles.php?group_id=7130&release_id=190896
Posts: 314
thanks, I felt I was missing something obvious... However, I downloaded two of the packs, from two mirrors, tried with two gzips - and every time I get
Posts: 3473
virshu,
Seems to be a problem there. we'll have to wait for Jens, but it's after midnight where he is, so it might be a while.
Posts: 14
the unpacking gave me the same (as explained above) but it works anyway with NL .... strange !!!
Posts: 6818
Hi,
maybe the files are broken ?
I will update the Sourceforge File when RC4 comes.
Till then you can find them at:
http://jems.de/archive/1.4.1
Jens
Posts: 13
I have problem with alt 2 (let the browser decide). I can't get it to work properly! But with alt 3 i works fine!
/ mikgus
Posts: 6818
hey, the rocking swedish team )
- Can you set your Gallery in Mode 2 and give me the URL to it ?
- And with which browser did you test ?
Jens
Posts: 13
OK, I PM you the data!
/ mikgus
Posts: 6818
Hi,
thanks for the links.
Tested on WinXP with NS7.1 and IE6.
Both works fine.
Jens
Posts: 13
Ok, thanx for testing. I still have problems on both my laptops. I will try on other computers tomorrow at work!
/ mikgus