[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

locales gettext apache php4



Hi,

I am not to familiar with entire localization stuff but since the last update 
I have some problems. 

I have a website that uses php4 and I always used gettext to offer the site in 
multiple languages. However since the last update of locales it stoped 
working. So my question is where do I find out what is wrong ?

I have the following /etc/locale.gen

# This file lists locales that you wish to have built. You can find a list
# of valid supported locales at /usr/share/i18n/SUPPORTED. Other
# combinations are possible, but may not be well tested. If you change
# this file, you need to rerun locale-gen.
#
# XXX GENERATED XXX
#
# NOTE!!! If you change this file by hand, and want to continue
# maintaining manually, remove the above line. Otherwise, use the command
# "dpkg-reconfigure locales" to manipulate this file. You can manually
# change this file without affecting the use of debconf, however, since it
# does read in your changes.


de_DE ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE.UTF-8@euro UTF-8
de_DE@euro ISO-8859-15
fr_FR ISO-8859-1
fr_FR.UTF-8 UTF-8
fr_FR.UTF-8@euro UTF-8
fr_FR@euro ISO-8859-15
nl_NL ISO-8859-1
nl_NL.UTF-8 UTF-8
nl_NL.UTF-8@euro UTF-8
nl_NL@euro ISO-8859-15

I have a directory:

/var/www/locale

in which I have directories for each translation:

drwxr-xr-x   3 root root  4096 Oct  7 17:46 da
drwxr-xr-x   3 root root  4096 Oct  7 17:46 de
drwxr-xr-x   3 root root  4096 Oct  7 17:46 el
drwxr-xr-x   3 root root  4096 Oct  7 17:46 es
drwxr-xr-x   3 root root  4096 Oct  7 17:46 fr

which contain directories: LC_MESSAGES

with the messages.mo files

This used to work but now I am lost. 

Can anyone give me some pointers ? Or tell me where I can better ask this ?

I am not on this list so please cc me, thanks

Bastiaan



Reply to: