Translation do not work

Permalink
Hallo, i installed a version 5.2.1 on my server. Everything works fine, except translation to german or other languages. I extracted the geman language file to languages/de_DE/LC_MESSAGES/messages.po and adapted the site.php and later also base.php as written in the forums, but it do not work. What i made wrong? P.S.: gettext is enabled in PHP. Sylvio

 
Remo replied on at Permalink Reply
Remo
It's a bit tricky to answer that question without having a look at the server.

If you did everything correct, there's just one thing I could image.

Your linux system needs to have the locale de_DE. Otherwise it refused to switch to de_DE without printing any kind of warning/error.

for debian "apt-get install locales" or "dpkg-reconfigure locales".

there's a command "locale" as well..
amakuza replied on at Permalink Reply
amakuza
First of all you need to put in your languages/de_DE/LC_MESSAGES/ a compiled version of your language file (messages.mo) then you need to run the following command on your linux system (Ubuntu distro): "sudo locale-gen de_DE". Restart your apache web-server("sudo service apache2 restart").
Hope this will help.
scheri replied on at Permalink Reply
i have problems with the localization under IIS (windows)
it doesn't work for me
is there a guide to get a running localized concrete under IIs?
greets scheri
lauschs replied on at Permalink Reply
The following checklist was useful :
1. check package locales is installed
2. regenerate by locale-gen de_DE
3. restart apache
4. compile the downloaded messages.po
and put the messages.mo in the
correct folder
language/de_DE/LC_MESSAGES

Thanks to Remo and Amakuza.