On 07/10/2009 02:48 PM, Stroller wrote:
> ...
Solution: To properly set the locale charset make sure the LC_*
environment variables are set...


Googling "LC_* environment variables" turns up this doc:
http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3

I assume this document is correct & up to date?
(and is not superseded by the LINGUAS="en_GB en" that I have in make.conf)

As far as I know the LINGUAS variable is used only during the building
of packages, and is not related to the LANGUAGE or LC variables. If I'm
wrong then someone correct me, please.  I've been vague about this for
years.

To discover what locales you have in /usr/share/locale, type 'locale -a'
at a shell prompt. If you emerged glibc with your LINGUAS variable set
to en_GB en then you may have only English-oriented locales listed,

In any case you should easily spot what you need in the output of
locale -a | grep GB.

Unless you have some very arcane lanuage needs you can just set the
value of LC_ALL instead of worrying about nine different ones.

Here is my /etc/env.d/02locale as an example from the colonies, which
of course is unsuitable for a truly civilized country:

$cat /etc/env.d/02locale
LC_ALL="en_US.UTF-8"
LANG="en_US.UTF-8"
LANGUAGE="en_US.UTF-8"
LINGUAS=""
ALL_LINGUAS=""

The redundancy in that file is probably overkill because I didn't know
exactly what to include.  It may well be that some of those don't need
to be there, and someone who knows will enlighten us both :o)



Reply via email to