1 |
rane 06/07/19 11:46:29 |
2 |
|
3 |
Modified: guide-localization.xml |
4 |
Log: |
5 |
#140098, use locale-gen instead of userlocales |
6 |
|
7 |
Revision Changes Path |
8 |
1.43 xml/htdocs/doc/en/guide-localization.xml |
9 |
|
10 |
file : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.43&content-type=text/x-cvsweb-markup&cvsroot=gentoo |
11 |
plain: http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml?rev=1.43&content-type=text/plain&cvsroot=gentoo |
12 |
diff : http://www.gentoo.org/cgi-bin/viewcvs.cgi/xml/htdocs/doc/en/guide-localization.xml.diff?r1=1.42&r2=1.43&cvsroot=gentoo |
13 |
|
14 |
Index: guide-localization.xml |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v |
17 |
retrieving revision 1.42 |
18 |
retrieving revision 1.43 |
19 |
diff -u -r1.42 -r1.43 |
20 |
--- guide-localization.xml 19 Jun 2006 12:08:14 -0000 1.42 |
21 |
+++ guide-localization.xml 19 Jul 2006 11:46:29 -0000 1.43 |
22 |
@@ -1,5 +1,5 @@ |
23 |
<?xml version='1.0' encoding='UTF-8'?> |
24 |
-<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.42 2006/06/19 12:08:14 flammie Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.43 2006/07/19 11:46:29 rane Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/guide-localization.xml"> |
29 |
@@ -29,8 +29,8 @@ |
30 |
the German doc. Includes configuration for use of the euro currency symbol. |
31 |
</abstract> |
32 |
|
33 |
-<version>1.30</version> |
34 |
-<date>2006-06-19</date> |
35 |
+<version>1.31</version> |
36 |
+<date>2006-07-18</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Time zone</title> |
40 |
@@ -314,35 +314,30 @@ |
41 |
</body> |
42 |
</section> |
43 |
<section> |
44 |
-<title>The userlocales USE flag</title> |
45 |
+<title>Generating locales for glibc</title> |
46 |
<body> |
47 |
|
48 |
<p> |
49 |
-You will probably only use one or maybe two locales on your system. Up until now |
50 |
-after compiling <c>glibc</c> a full set of all available locales has been |
51 |
-created. As of now you can activate the <c>userlocales</c> USE flag and specify |
52 |
-only the locales you will need in <path>/etc/locales.build</path>. |
53 |
+You will probably only use one or maybe two locales on your system. You can |
54 |
+specify locales you will need in <path>/etc/locale.gen</path>. |
55 |
</p> |
56 |
|
57 |
-<pre caption="Activate the userlocales USE flag especially for glibc"> |
58 |
-echo "sys-libs/glibc userlocales" >> /etc/portage/package.use |
59 |
+<pre caption="Adding locales to /etc/locale.gen"> |
60 |
+en_GB ISO-8859-1 |
61 |
+en_GB.UTF-8 UTF-8 |
62 |
+de_DE ISO-8859-1 |
63 |
+de_DE@euro ISO-8859-15 |
64 |
</pre> |
65 |
|
66 |
<p> |
67 |
-Now specify the locales you want to be able to use: |
68 |
+The next step is to run <c>locale-gen</c>. It will generate all the locales you |
69 |
+have specified in the <path>/etc/locale.gen</path> file. |
70 |
</p> |
71 |
|
72 |
-<pre caption="Adding locales to /etc/locales.build"> |
73 |
-en_US/ISO-8859-1 |
74 |
-en_US.UTF-8/UTF-8 |
75 |
-de_DE/ISO-8859-1 |
76 |
-de_DE@euro/ISO-8859-15 |
77 |
-</pre> |
78 |
- |
79 |
-<p> |
80 |
-The next step is to re-compile <c>glibc</c>. Of course you can defer this until |
81 |
-the next <c>glibc</c> upgrade is available. |
82 |
-</p> |
83 |
+<note> |
84 |
+<c>locale-gen</c> is available in <c>glibc-2.3.6-r4</c> and newer. If you have |
85 |
+an older version of glibc, you should update it now. |
86 |
+</note> |
87 |
|
88 |
</body> |
89 |
</section> |
90 |
|
91 |
|
92 |
|
93 |
-- |
94 |
gentoo-doc-cvs@g.o mailing list |