Gentoo Archives: gentoo-user

From: Roman Zilka <rzilka@××××.cz>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] From /etc/locale.build to /etc/locale.gen
Date: Sat, 27 Oct 2007 10:22:39
Message-Id: 20071027101759.GB11438@eniac.gvid.cz
In Reply to: Re: [gentoo-user] From /etc/locale.build to /etc/locale.gen by econti
1 > >$ cat /etc/locale.gen
2 > ># /etc/locale.gen: list all of the locales you want to have on your system
3 > >#
4 > ># The format of each line:
5 > ># <locale> <charmap>
6 > >#
7 > ># Where <locale> is a locale located in /usr/share/i18n/locales/ and
8 > ># where <charmap> is a charmap located in /usr/share/i18n/charmaps/.
9 > >#
10 > ># All blank lines and lines starting with # are ignored.
11 > >#
12 > ># For the default list of supported combinations, see the file:
13 > ># /usr/share/i18n/SUPPORTED
14 > >#
15 > ># Whenever glibc is emerged, the locales listed here will be automatically
16 > ># rebuilt for you. After updating this file, you can simply run `locale-gen`
17 > ># yourself instead of re-emerging glibc.
18 > >
19 > >cs_CZ ISO-8859-2
20 > >en_US ISO-8859-1
21 > >ja_JP EUC-JP
22 > >en_US.ISO-8859-1 ISO-8859-1
23 > >en_US.UTF-8 UTF-8
24 > >cs_CZ.ISO-8859-2 ISO-8859-2
25 > >cs_CZ.UTF-8 UTF-8
26 > >cs_CZ.CP1250 CP1250
27 > >ja_JP.EUC-JP EUC-JP
28 > >ja_JP.UTF-8 UTF-8
29
30 > But I have no /etc/locale.gen
31 > ;-(
32
33 Well, create one then. It's just an ordinary root-owned plaintext file.
34 The file's internal structure is described above.
35
36 -rz
37 --
38 gentoo-user@g.o mailing list