On Sat, 2010-06-26 at 13:38 +0100, Mick wrote:
> On Saturday 26 June 2010 13:20:38 William Kenworthy wrote:
> > On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote:
> > > Mick writes:
> > > > On Saturday 26 June 2010 12:10:02 Alex Schuster wrote:
> > > > > Your aterm is configured as a login shell, and as such reads
> > 
> > You might want to read this and set up your locales properly.
> > 
> > http://www.gentoo.org/doc/en/guide-localization.xml
> 
> Thanks Bill, that's where I started, but I am getting confused with the way 
> my 
> system and various terminals respond to the suggested files/settings.
> 
> The only way to see the locales I entered in /etc/env.d/02locale is by 
> launching a terminal (aterm, xterm, urxvt) and 'su -' to root.  In all other 
> cases US locales seem to take over (although the LANG setting appears to be 
> working).

In my /etc/env.d/02locale file,  it reads as the following:
LANG="en_GB.UTF-8"
LC_COLLATE="C"

When running "locale" as either root or any other user I get:
ch...@ianto-gentoo-amd ~ $ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE=C
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

If you want en_GB I recommend that you change it to what I've got in my
02locale file and then run the following command as root:
 $ env-update && source /etc/profile

This is what I've used to globally set en_GB as the default language.

Hope this helps,
Chris.


Reply via email to