You are here

Enabling Gallery2‘s language support by configuring locales in Ubuntu 7.10 (Gutsy)

Error message

Deprecated function: The each() function is deprecated. This message will be suppressed on further calls in menu_set_active_trail() (line 2405 of /is/htdocs/wp1022769_0UTS5D8WKG/www/siarp.de/includes/menu.inc).

Gallery2 didn‘t want to talk German to me :(

I found a hint in the Gallery2 FAQs which pointed me to locales that are used by gettext. On my server (Ubuntu 7.10) no locales were configured so with a little help from ubuntugeek.com I enabled de_DE.UTF-8 and en_US.UTF-8 (adding both as new lines to /var/lib/locales/supported.d/local), then dpkg-reconfigure locales and restart Apache.

Works.