Re: Rép. : [Cartoweb-users] locales on Debian Etch

Laurent Deschaumes ldeschaumes at gmail.com
Tue Nov 21 05:56:05 EST 2006


Merci,
ça marche à moitié , Ok pour les scripts testgettext sh et php
mais le cartoclient reste toujours en anglais, pourtant les fichiers
de traductions sont bien générés dans le repertoire
<PATH_CARTOWEB>locale/
pour que ça fonctionne en français je suis toujours obligé obligé  de mettre
defaultLang =fr_FR
langList= fr_FR,en_EN
j'ai aussi crée des liens symboliques
ln -s fr fr_FR
ln -s en en_EN
dans le répertoire <PATH_CARTOWEB>locale

si je trouve mieux je préviens la liste

@+Laurent

Le 20/11/06, Patrick Mayrand<Patrick.Mayrand at fadq.qc.ca> a écrit :
> Je ne sais pas si ca peux t'aider mais moi j'ai fais ca:
>
> Pour pouvoir visualiser le francais pour les projets, il faut faire les changements suivants:
>
>
>     * Dans /usr/share/i18n/locales, faire un lien symbolique.
>
> ln -s fr_CA fr
>
>
>     * Dans /etc/locale.gen, ajouter :
>
> fr iso-8859-1
>
>
>     * Exécuter la commande suivante :
>
> locale-gen
>
>
> Pat
>
> >>> "Laurent Deschaumes" <ldeschaumes at gmail.com> 11/20/06 3:21 pm >>>
> Hi all,
>
> I want install cartoweb 3.3 on Debian Etch , but i have some probleme with
> locales.
> On Debian Etch /etc/locale.alias change to /etc/locale.gen ,
> tesgettext.shand testgettext don't works.
>
> If i change in testgettext.sh the line  LOCALE="fr" to  LOCALE="fr_FR"
> and in testgettext.php $LOCALE="fr" to $LOCALE="fr_FR"
> gettext tests are OK but cartoclient  internationalization always fails,
> if i change  in the client.ini :
> defaultLang = fr to defaultLang = fr_FR
> and langList = fr, en  to langList = fr_FR , en_EN
>
> launch  php cw3setup  --install  --base-url $BASE_URL
>
> and rename  <PATH_TO_CARTOWEB>locale/fr to  <PATH_TO_CARTOWEB>locale/fr_FR
> idem for "en"
>
> cartoclient  works fine for french but  url to change to english  disappear.
>
> any ideas to not do that
>
> tks for responses.
>
> Laurent
>
>



More information about the Cartoweb-users mailing list