Hi,
When i change the language setting to Dutch, nothing happends? I know about Gettext. I run my own linux server and its enabled. See PHPInfo here:
http://www.intosia.com/info.php
Also the Dutch locals are in the Locale/nl-NL folder, so the translation is there.
Are any faulty system/php settings at work here?
Any ideas?
Thanks
Please read here: http://www.zenphoto.org/2009/03/troubleshooting-zenphoto/#24
I also run a local NAS(Synology). It supports gettext but it simply has no other languages (locales) on board than English.
It should be possible to install other laguage packs but so far I have not been able to.
(a lot of UNIX jibberish to me)
I suggest you do a internet search for [i]locales[/i] for your server.
There is supposed to be a warning there as well, but the setLocale() function has to return an error for you to get it. However, seems somewhere in some revision the display of that error message ended up in the wrong script file. That will be fixed tonight.
This is most likely the issue--the server does not support the locale for Dutch. But try the nightly and see if it reports an error.
Sorry for the late reply!
Ok, i fixed it! When i installed the nightly build, i indeed got a error (guess i missed it the first time) that getText didnt work. So its not Zenphoto, but a system error.
What i did was i installed the 'locales-all' package in Debian, with the following command:
sudo apt-get install locales-all
and restarted my webserver.
Hope i can help someone with this!
Ps. Good to see you're stepping away from getText(). Its not really user friendly.
[quote]Ps. Good to see you're stepping away from getText(). Its not really user friendly.
[/quote]
Not really what we are doing. gettext() is required if you are going to support multilingual PHP software. We do have a "replacement" version that supports English only. Sometimes bugs crop in that cause failures in new installs when gettext() is not supported natively in PHP. That is probably what you ran into.
Anyway, bottom line, [b]gettext() is here to stay[/b]