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.
Big thanks to Tomas.
Sylvain
On Thu, 7 Apr 2005, Sylvain Fauvel wrote:
>
>
> I tried to copy a locale. It does not seem to work.
>
> My context:
>
> OS: Solaris 9
> Browser: Apache 2.0.52
> SquirrelMail version : 1.4.4
> PHP version 4.3.10
> PHP Options for localisation: --with-gettext --with-iconv
>
> The os is configured for fr_CA (Canadian French) but not fr_FR.
> SquirrelMail has fr_FR only.
>
> 1st question: Am i right to assume i will not be able to configure
> fr_FR in SquirrelMail if it is not installed for the OS?
>
> So, i am trying to copy fr_FR to fr_CA.
>
> I imported the package fr_FR-1.4.4-20050308.tar.gz, untarred and
> proceeded to rename fr_FR fr_CA. I copied the "locale" directory,
> as well as the "image" directory and "help" directory (had to rename
> the image file). I then ran the "install" script.
>
> I also install and compile locales (all of them) with the
> "compilelocales"
> script. (i downloaded "locales-1.4.4-20050308-src.tar.gz" and
> "all_locales-1.4.4-20050308.tar.gz").
>
> Then i edited the function i18n.php and added:
>
> $languages['fr_CA']['NAME'] = 'Can.French';
> $languages['fr_CA']['CHARSET'] = 'iso-8859-1';
> $languages['fr_CA']['LOCALE'] = 'fr_CA.ISO8859-1';
> $languages['fr']['ALIAS'] = 'fr_CA';
>
>
> I edited config/config.php to specity :
>
> $squirrelmail_default_language = 'fr_CA'
>
> I restartted Apache. I still get english for the interface. Only the
> help files are in french.
>
> My other option is to reinstall the OS with fr_FR as well as apache,php
> and all
> other required packages. I would prefer to avoir this.
>
>
>
>
>
>
>
> -------------------------------------------------------
> 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
>
-------------------------------------------------------
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