From: walt <w41ter@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: LC_ locale settings for UK / GB.
Date: Fri, 10 Jul 2009 16:05:52 -0700 [thread overview]
Message-ID: <h38hgm$cm5$1@ger.gmane.org> (raw)
In-Reply-To: <6DF38B2C-68C3-4B3A-8AC2-9F4E1990218A@stellar.eclipse.co.uk>
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)
next prev parent reply other threads:[~2009-07-10 23:06 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-10 21:48 [gentoo-user] LC_ locale settings for UK / GB Stroller
2009-07-10 23:02 ` Peter Ruskin
2009-07-10 23:19 ` [gentoo-user] " walt
2009-07-10 23:30 ` [gentoo-user] " Stroller
2009-07-10 23:05 ` walt [this message]
2009-07-10 23:32 ` [gentoo-user] " Stroller
2009-07-11 3:49 ` ABCD
2009-07-11 18:35 ` walt
2009-07-11 20:13 ` Stroller
2009-07-11 21:02 ` walt
2009-07-13 22:35 ` [gentoo-user] " ABCD
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='h38hgm$cm5$1@ger.gmane.org' \
--to=w41ter@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox