1 |
On Sat, 2010-06-26 at 13:38 +0100, Mick wrote: |
2 |
> On Saturday 26 June 2010 13:20:38 William Kenworthy wrote: |
3 |
> > On Sat, 2010-06-26 at 13:59 +0200, Alex Schuster wrote: |
4 |
> > > Mick writes: |
5 |
> > > > On Saturday 26 June 2010 12:10:02 Alex Schuster wrote: |
6 |
> > > > > Your aterm is configured as a login shell, and as such reads |
7 |
> > |
8 |
> > You might want to read this and set up your locales properly. |
9 |
> > |
10 |
> > http://www.gentoo.org/doc/en/guide-localization.xml |
11 |
> |
12 |
> Thanks Bill, that's where I started, but I am getting confused with the way my |
13 |
> system and various terminals respond to the suggested files/settings. |
14 |
> |
15 |
> The only way to see the locales I entered in /etc/env.d/02locale is by |
16 |
> launching a terminal (aterm, xterm, urxvt) and 'su -' to root. In all other |
17 |
> cases US locales seem to take over (although the LANG setting appears to be |
18 |
> working). |
19 |
|
20 |
In my /etc/env.d/02locale file, it reads as the following: |
21 |
LANG="en_GB.UTF-8" |
22 |
LC_COLLATE="C" |
23 |
|
24 |
When running "locale" as either root or any other user I get: |
25 |
chris@ianto-gentoo-amd ~ $ locale |
26 |
LANG=en_GB.UTF-8 |
27 |
LC_CTYPE="en_GB.UTF-8" |
28 |
LC_NUMERIC="en_GB.UTF-8" |
29 |
LC_TIME="en_GB.UTF-8" |
30 |
LC_COLLATE=C |
31 |
LC_MONETARY="en_GB.UTF-8" |
32 |
LC_MESSAGES="en_GB.UTF-8" |
33 |
LC_PAPER="en_GB.UTF-8" |
34 |
LC_NAME="en_GB.UTF-8" |
35 |
LC_ADDRESS="en_GB.UTF-8" |
36 |
LC_TELEPHONE="en_GB.UTF-8" |
37 |
LC_MEASUREMENT="en_GB.UTF-8" |
38 |
LC_IDENTIFICATION="en_GB.UTF-8" |
39 |
LC_ALL= |
40 |
|
41 |
If you want en_GB I recommend that you change it to what I've got in my |
42 |
02locale file and then run the following command as root: |
43 |
$ env-update && source /etc/profile |
44 |
|
45 |
This is what I've used to globally set en_GB as the default language. |
46 |
|
47 |
Hope this helps, |
48 |
Chris. |