Thank's a lot for all explanation, I solved the problem :) bye!
script tested bunch of system locales and none of them worked.
I suspect that on Trustix list of compiled locales is stored in /etc/locales.conf. Open that file in some text editor. Uncomment (remove # symbol in the beginning of the line) any locale you want to be generated. Then run /usr/sbin/locales-gen to generate the choosen locales.
restart apache after running locales-gen command and check if translations start working.
You can check list of enabled system locales by running command 'locale -a'
Gettext based translations work only when appropriate system locales are present. Some systems don't enable any system locales by default. If you need list of all system locales that are needed by SquirrelMail, see attached locales.txt. File contains Unix linefeeds. It does not look good in Notepad. List does not include Uighur locale (localedef ug -i en_US -f UTF-8), because translation will be released only on 2004-10-04 and many systems don't have any Uighur support.
If you just copy attached file into /etc/locales.conf, remember that some lines might cause errors, my comments have to be removed and your system should be able to fall back from full locale names (fr_FR.ISO8859-1) to short ones (fr_FR).
If you get two copies of the message, sorry. I want to keep conversation on the list. It can be useful for others.
If I am wrong about locales-gen, on Linux glibc system you can compile Italian and French system locales with commands 'localedef it_IT -i it_IT -f ISO-8859-1' and 'localedef fr_FR -i fr_FR -f ISO-8859-1'
------------------------------------------------------------------------
ar_AE CP1256 (command localedef ar -i ar_AE -f CP1256) bg_BG CP1251 ca_ES ISO-8859-1 cs_CZ ISO-8859-2 cy_GB ISO-8859-1 da_DK ISO-8859-1 de_DE ISO-8859-1 el_GR ISO-8859-7 en_GB ISO-8859-15 en_US ISO-8859-1 es_ES ISO-8859-1 et_EE ISO-8859-15 eu_ES ISO-8859-1 fa_IR UTF-8 fi_FI ISO-8859-1 fo_FO ISO-8859-1 fr_FR ISO-8859-1 he_IL CP1255 hr_HR ISO-8859-2 hu_HU ISO-8859-2 id_ID ISO-8859-1 is_IS ISO-8859-1 it_IT ISO-8859-1 ja_JP EUC-JP ko_KR EUC-KR lt_LT UTF-8 ms_MY ISO-8859-1 nb_NO ISO-8859-1 (some systems require 'localedef nb_NO -i no_NO -f ISO-8859-1') nl_NL ISO-8859-1 nn_NO ISO-8859-1 pl_PL ISO-8859-2 pt_BR ISO-8859-1 pt_PT ISO-8859-1 ro_RO ISO-8859-2 ru_RU UTF-8 sk_SK ISO-8859-2 sl_SI ISO-8859-2 sr_YU ISO-8859-2 sv_SE ISO-8859-1 th_TH TIS-620 tr_TR ISO-8859-9 (might be broken) zh_CN GB2312 zh_TW BIG5
------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php -- squirrelmail-users mailing list Posting Guidelines: http://squirrelmail.org/wiki/wiki.php?MailingListPostingGuidelines List Address: [EMAIL PROTECTED] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
