Tomas Kuliavas wrote:
>>Hello to all,
>>Im dealing with internationalization of Squirrelmail.
>>I have set up "cs_CZ" as default language and still everything is in
>>Google tell me that the problem is connected with system locales. Can
>>anyone advice me how to correct this problem ? I have the same
>>configuration on the other box (FreeBSD) and there is no problem. Just
>>Solaris server (I get today ) can`t use language setting.
>PHP is linked to GNU gettext or Sun gettext?
>I think you have it linked to Sun Gettext. Sun Gettext does not revert to
>short locale names and requires same locale directory as the one that is
>used in setlocale/putenv call.
>If you have php cli, you can test your php installation with gettext.php
>script from locales HEAD cvs.
>you can run 'php gettext.php' command with truss and check open file open
>calls that try to open .mo files. This script is little out of date. I can
>provide updated version with outputs more debug info and can display
>translated strings if gettext is working as expected.
Thank you Tomas. I will try it.