[i18n] French language doesn't work for me
Benoit St-Andre
ben at benoitst-andre.net
Tue Jan 27 07:40:45 PST 2004
Le 27 Janvier 2004 08:58, Damien Harper a écrit :
>
> Horde is set for fr_FR language, ISO-8859-1 is set for DB connections.
>
> Here is a shot description of my troubles, I hope someone can help me !!!
>
> I'm talking about french content. French strings are displayed properly but
> french content looks like UTF-8 encoded but seems to be badly decoded for
> display so that weird character (like chinese) appear and javascript errors
> occur as soon as data manipulated by these scripts contain accents !
> For example, i create a type named "Nouvelle fonctionnalité" within whups.
> As soon as I click OK button, the following stage 1 summary is displayed :
> Nom du type : Nouvelle fonctionnalit?td>
> and the following is diplayed in stage 2
> Nom du type : Nouvelle fonctionnalit?id=
>
> If I look in the database (MySQL), here is what is stored in the whups_type
> table "Nouvelle fonctionnalité"
>
> My setup is set to french latin1 and the output of the locale command is
> LANG=fr_FR.UTF-8
> LC_CTYPE="fr_FR.UTF-8"
> LC_NUMERIC="fr_FR.UTF-8"
> LC_TIME="fr_FR.UTF-8"
> LC_COLLATE="fr_FR.UTF-8"
> LC_MONETARY="fr_FR.UTF-8"
> LC_MESSAGES="fr_FR.UTF-8"
> LC_PAPER="fr_FR.UTF-8"
> LC_NAME="fr_FR.UTF-8"
> LC_ADDRESS="fr_FR.UTF-8"
> LC_TELEPHONE="fr_FR.UTF-8"
> LC_MEASUREMENT="fr_FR.UTF-8"
> LC_IDENTIFICATION="fr_FR.UTF-8"
> LC_ALL=
>
> So, maybe the problem begins here...
>
> Hope that it helps !
> Thanks.
>
> Regards,
>
> Damien Harper
>
>
>
> --
> Horde i18n mailing list - Join the hunt: http://horde.org/bounties/
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: i18n-unsubscribe at lists.horde.org
If I understand correctly your setup, you are typing your commands on your
system that encodes them in UTF-8 in the database, because your local setup
is UTF-8. However, I think Horde's pages are shown in your case in ISO-8859-1
, try changing the encoding with your browser to UTF-8, if things turns out
to reverse completely (your french content ok but all the french strings from
horde will show some "?" instead).
I'm not sure about the solution though. Maybe it would be that your locale on
the system would be ISO-8859-1 instead of UTF-8...
--
Benoit St-André
ben at benoitst-andre.net
Connaissez-vous Linuxédu-Québec ? http://linuxeduquebec.org
More information about the i18n
mailing list