> Hi all, I am rather newbye about using squirrelmail.
> I'v installed SM on trustix 2.1 + apache + courier imap
> The problem is language won't change..
> I' ve installed it_IT and fr_FR locales but no way.
> The HELP is traslated but the entire program not either using conf.pl
> either changing language by user-options.. File permissions are ok.
> Someone can help me? I'm getting crazy..
> Thank's in advance...

Attached php script. If you have php 4.3+, test it. It tries to set
different French system locales and shows the first one that works.

If you have older php version, I have rewrite script.

If you have php with shared gettext extension and you want to get
translations at the cost of performance - remove gettext extension.

or install glibc-locales-2.3.2-15tr.i586.rpm. If you already have it
installed - your system fails to fall back from fr_FR.ISO8859-1 to fr_FR.
You have to edit functions/i18n.php file and disable
$languages['fr_FR']['LOCALE'] line.

http://www.squirrelmail.org/wiki/en_US/SupportingMultipleLanguages
--
Tomas

Attachment: setlocale.php
Description: Binary data

Reply via email to