1 |
On Friday 10 July 2009, Stroller wrote: |
2 |
> Googling "LC_* environment variables" turns up this doc: |
3 |
> http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 |
4 |
> |
5 |
> I assume this document is correct & up to date? |
6 |
> (and is not superseded by the LINGUAS="en_GB en" that I have in |
7 |
> make.conf) |
8 |
> |
9 |
> This doc refers to a /etc/env.d/02locale file - I assume I have |
10 |
> to create that by hand? The file does not exist at present. I |
11 |
> guess this is the kind of thing I'd kinda expect you to create by |
12 |
> symlinking to / usr/share/linguas/England or something. |
13 |
> |
14 |
> Finally, does anyone have the correct LANG and LC_COLLATE |
15 |
> settings for the United Kingdom, please? I assume that again |
16 |
> something starting "en_GB" is used. |
17 |
> |
18 |
> Do I need to set ALL LC_* variables (the guide lists 9 of them) |
19 |
> or just those 2? |
20 |
> |
21 |
> This server is headless, so I'm using X11 over ssh - kcontrol's |
22 |
> left- hand pane is blank. |
23 |
> |
24 |
> Thanks in advance for any help, |
25 |
> |
26 |
|
27 |
This is what my 02locale file says: |
28 |
LANG="en_GB" |
29 |
LC_COLLATE="POSIX" |
30 |
LC_CTYPE="POSIX" |
31 |
LC_ALL="en_GB" |
32 |
|
33 |
I set LC_COLLATE and LC_CTYPE to "POSIX" some time ago to make |
34 |
konqueror sort the way I expect. |
35 |
|
36 |
-- |
37 |
Peter |
38 |
======================================================================== |
39 |
Gentoo Linux: Portage 2.2_rc33 kernel-2.6.28-gentoo-r5 |
40 |
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(Gentoo: 4.3.2-r3 |
41 |
KDE: 3.5.9 Qt: 3.3.8b |
42 |
======================================================================== |