From: Kai S. <mai...@co...> - 2002-09-24 13:32:57
|
Tomas Kuliavas wrote on Tue, 24 Sep 2002 08:17:14 +0200 (EET): Thanks for your quick answer! > Run 'LANG=de_DE ls -l' on the server. If you don't see German in file > listing - you haven't compiled German locale. Yes, no locale. I compared with a Suse 7.3 machine which can change locale and as I understand locale data is stored at /usr/lib/locale which isn't on the Suse 8.0 machine at all. I tried with yast2 to set the language (System/Change Language) to "Deutsch", but this seems to fail. After Accept it just falls back to the yast2 screen, no configuring action is taken. (But I noticed now some minutes later that yast2 is now in German, just don't know after which action this happened.) I checked rpms with yast and I couldn't find any source for that in Suse 7.3 but found glibc-i18ndata (8 MB) and glibc-locale (120 MB) via yast2 on the Suse 8.0 machine. It looks like glibc-i18ndata is the source for glibc-locale. So I installed glibc-i18ndata, created /usr/lib/locale and then ran the command below you suggested. That ran fine and I'm now able to change the LANG variable to de_DE and get German output. However, Squirrelmail still knows only English. I checked the Wiki page and looked for a "gettext.so" entry in php.ini, but there isn't one. I again reloaded Apache. I'm running PHP in safe_mode but it is set off for this virtual host with "php_admin_value safe_mode 0". I added a /usr/share/locale/local.alias file with deutsch de_DE.ISO-8859-1 de de_DE.ISO-8859-1 de_DE de_DE.ISO-8859-1 Yes, gettext is enabled according to php_info(). I think I tried every tip I could find but none helps. :-( Anyone getting this fine on Suse 8.0? If so, what do I need? Oh, I tried a last thing now: I looked for gettext libs, gettext isn't installed. So I installed gettext, reloaded Apache et voilà, I've got German now :-) Hope this helps other with problems on Suse 8.0. Kai -- Kai Schätzl, Berlin, Germany Get your web at Conactive Internet Services: http://www.conactive.com IE-Center: http://ie5.de & http://msie.winware.org |