> With the help of Thomas Kuliavas i fixed my problem. After the > installation of locales on SquirrelMail, the "locale" directory > contained fr_CA and fr_FR. I needed to have it named fr.CA.ISO8859-1. > I am not sure why or if it is normal but i just made a symbolic link > (ln -s fr.CA fr.CA.ISO8859-1) and the interface is in french.
Solaris 9 gettext does not revert to short name of locale. It uses name that is set in setlocale call. setlocale call must be successful. Solaris9 contains only limited number of system locales and setlocale call will work only with es, fr and ru translations. Spanish and French translations must use short iso639 names or different country codes. Maybe set of installed locales can be modified, but I still have to find the way to do it. If you want to use translations without symbolic link hacks, recompile php against gnu gettext libraries. Or ask Sun to implement reversion to short locale name. Other possible issue - you must set environment variables in order to use translation with GNU gettext. SquirrelMail does not use environment variables, when php is in safe_mode. -- Tomas ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click -- 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
