On Wed, 28 Apr 2010 10:54:14 +0200 Peter Allgeyer <[email protected]> wrote:
> Hi, > > while english and italian is ok, the german translation isn't working > for us. Instead the english page is shown. Our setting for LC_MESSAGES > is "de_DE.UTF-8". I debugged a little and discovered, that function > _get_reader() in gettext.inc isn't called ever for the german > language, but for all other. This might be ok, I can't tell. > > Any hints? Hi Peter. LC_MESSAGES (the environment variable) is not actually used by DL. If language detection of the browser fails, the default is configured inside include/config.php (simply use "de_DE" here if your users are mostly german speakers). I assume that you don't get german even if you click the 'DE' icon in the pages? Try checking the permissions of include/locale/de_DE (and below). If all else fails, install 'gettext' and try running 'msgfmt message.po' inside include/locale/de_DE/LC_MESSAGES. We had some problems with some versions of the PHP APC plugin with mod_php. Try disabling it temporarily. Let me know if any of these helps. Bests
