![]() |
|
Multilingual problems with gettext() - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: Translating (https://forum.zenphoto.org/forum-8.html) +--- Thread: Multilingual problems with gettext() (/thread-12083.html) |
Multilingual problems with gettext() - tw2003 - 27-11-2014 I try to set up a new website with zenphoto and have the multilingual part working except that gettext() translations does not work (e. g. using the zenpage or garland theme). Multilingual problems with gettext() - acrylian - 27-11-2014 Yes, those are the paths from my development version. But those only are needed if parsing Zenphoto to create or update a translation (see our translation tutorial if you want to read more about that) and are completly meaningless for normal Zenphoto use. If the static strings are not translated by switching your server probably does not support gettext(). Ask your provider about that. Multilingual problems with gettext() - tw2003 - 27-11-2014 gettext is enabled. I'm testing on a wamp installation locally and checked in phpinfo. Multilingual problems with gettext() - acrylian - 27-11-2014 I can assure the gettext part works on several local installations (MAMP since I am on Mac) here including live ones. The path in the po file can realy not be the problem. Are you really sure that the server does have the de_DE locale support? Otherwise it all will not work even if gettext itself is working. Multilingual problems with gettext() - tw2003 - 27-11-2014 Could be either x64 WAMP (as some posts I found in the web suggest) or the Windows installation I have to use here. Going to check it on my own machine and with my hoster. I think you're right that the machine has some flaws. Multilingual problems with gettext() - tw2003 - 27-11-2014 Verified it. My home system shows everything in german and gettext() won't work here, too because of the x64 wamp installation. If I find a solution for this I will post it here. Multilingual problems with gettext() - tw2003 - 27-11-2014 Found a related post in https://bugs.php.net/bug.php?id=66265 Multilingual problems with gettext() - acrylian - 27-11-2014 Ok, thanks for the feedback. |