Rép. : [Cartoweb-users] locales on Debian Etch
    Patrick Mayrand 
    Patrick.Mayrand at fadq.qc.ca
       
    Mon Nov 20 15:29:03 EST 2006
    
    
  
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