From: Tomas K. <to...@us...> - 2004-09-19 14:54:53
|
1. localedef pt_BR -i pt_BR -f ISO-8859-1 1b. use 'localedef --force pt_BR -i pt_BR -f ISO-8859-1' if first command generates any standard output 2. restart apache 3. if you are using 1.4.4cvs or 1.5.x - install translations. see locale/README.locales in squirrelmail package. 4. use command 'localedef pt_BR.ISO8859-1 -i pt_BR -f ISO-8859-1' if you have pt_BR system locale and your system fails to revert from pt_BR.ISO8859-1 to pt_BR. 5. use command 'LANG=pt_BR date' in order to test your system locale. Month name should be in Portuguese. -- Tomas > i used localedef to create portuguease locales, and i got no error > messages(no problem). I do have > > pt_BR ISO-8859-1 on my system, so i don´t know what is wrong... anymore > info? i do have glibc. > > > > Tomas Kuliavas wrote: > > >>> hello, >>> >>> i cannot change to any language, only english works... I do have >>> gettext working (or at least that is what the phpinfo() tell's me..)i >>> am using mandrake 10 as server.. I need some help here.... any ideias? >>> anymore info you guys needs? >>> >>> >> >> php gettext translations work only when appropriate system locales are >> present. mandrake distributes glibc system locales in separate rpms. >> >> rpm -q -a | grep locales-* >> >> http://www.squirrelmail.org/wiki/en_US/SupportingMultipleLanguages >> >> >> http://article.gmane.org/gmane.mail.squirrelmail.user/20168 >> I think, Mandrake does not use /etc/locales.conf, but you can find list >> of required locales in that email. |