brain dump far away from /dev/null

25Sep/080

Gallery2: changing language has no effect

I recently ran into the problem with Gallery2 2.2.6. Changing the language of Gallery2 to German in the settings didn't work; everything was still in English.
"gettext" was installed correctly (as suggested by the Gallery2 wiki).

I also looked through the following sites but there was no solution to my problem.

http://gallery.menalto.com/node/48522
http://gallery.menalto.com/node/49516
http://codex.gallery2.org/Gallery2:Language_Settings

In gallery2/modules/core/locale/de/LC_MESSAGES/modules_core.mo says:

X-Poedit-Country: GERMANY

The following command shows which locales are installed on the system:

$ locale -a
C
POSIX
de_AT
de_AT.iso88591
de_AT.iso885915@euro
de_AT.utf8
de_AT@euro
en_US
en_US.iso88591
en_US.iso885915
en_US.utf8

As you can see de_AT (German Austria) is installed but de_DE (German Germany) is not.
I ran "dpkg-reconfigure locales" as root and added the following locales:

de_DE.UTF-8
de_DE.ISO-8859-15@euro

After restarting Apache with "apache2ctl restart" Gallery2 was finally in German. 🙂

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

No trackbacks yet.