directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Linus van Geuns <li...@vangeuns.name>
Subject [Studio] Linux locales & user interface language: $LANG, $LC_CTYPE, $LC_ALL
Date Wed, 21 Oct 2009 00:09:16 GMT
Hi!

Just made the following observation on Ubuntu 9.04 i386 running
ApacheDirectoryStudio-linux-x86-1.4.0.v20090407:

Using a more complex locale setup like..
$ locale
LANG=en_US.utf8
LC_CTYPE=de_DE.utf8
LC_NUMERIC=de_DE.utf8
LC_TIME=de_DE.utf8
LC_COLLATE=de_DE.utf8
LC_MONETARY=de_DE.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=de_DE.utf8
LC_NAME=de_DE.utf8
LC_ADDRESS=de_DE.utf8
LC_TELEPHONE=de_DE.utf8
LC_MEASUREMENT=de_DE.utf8
LC_IDENTIFICATION=en_US.utf8
LC_ALL=

Directory Studio will start using german translations instead of the
english UI like I expected having LANG and LC_MESSAGES set to
"en_US.utf8" and LC_ALL unset.
The locale setting of LC_CTYPE seems to be decisive over all other
vars except for LC_ALL. Setting LC_ALL overrides any other locale
variable like is expected.

This sould be added to http://directory.apache.org/studio/faqs.html IMHO.

Regards,
Linus

Mime
View raw message