You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Linus van Geuns <li...@vangeuns.name> on 2009/10/21 02:09:16 UTC

[Studio] Linux locales & user interface language: $LANG, $LC_CTYPE, $LC_ALL

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

Re: [Studio] Linux locales & user interface language: $LANG, $LC_CTYPE, $LC_ALL

Posted by Emmanuel Lecharny <el...@apache.org>.
Linus van Geuns wrote:
> 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.
>   

I have updated the page, I hope that what I have added is enough...

Site will be updated in a few hours.

-- 
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org