[Cartoweb-users] gettext problem

Mathieu BORNOZ mathieu.bornoz at camptocamp.com
Mon Apr 24 03:53:29 EDT 2006


Hi Peter,

these three lines are sufficient for CartoWeb:

> </etc/locale.alias>
fr            fr_FR.ISO-8859-1
de          de_DE.ISO-8859-1
en          en_GB.ISO-8859-1
> </etc/locale.alias>

change 
> de ISO-8859-1
> en ISO-8859-1

to:
de_DE.ISO-8859-1 
en_GB.ISO-8859-1

It's is also significant to control the version of gettext (for sarge):

$ dpkg -l |grep gettext
ii  gettext            0.14.4-2       GNU Internationalization utilities
ii  gettext-base   0.14.4-2       GNU Internationalization utilities for ...

and that the php module is really loaded :

$ php -i |grep -i gettext
gettext
GetText Support => enabled

If all what is above is correct, try again "testgettext.php", that should be 
ok !

Mathieu



	


More information about the Cartoweb-users mailing list