1 |
nightmorph 09/06/14 09:16:34 |
2 |
|
3 |
Modified: guide-localization.xml |
4 |
Log: |
5 |
updated localization guide for valid locale entries as obtained from /usr/share/i18n/SUPPORTED. bug 273779 |
6 |
|
7 |
Revision Changes Path |
8 |
1.55 xml/htdocs/doc/en/guide-localization.xml |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.55&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.55&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?r1=1.54&r2=1.55 |
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.54 |
18 |
retrieving revision 1.55 |
19 |
diff -u -r1.54 -r1.55 |
20 |
--- guide-localization.xml 25 Feb 2009 21:18:19 -0000 1.54 |
21 |
+++ guide-localization.xml 14 Jun 2009 09:16:34 -0000 1.55 |
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.54 2009/02/25 21:18:19 nightmorph Exp $ --> |
25 |
+<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.55 2009/06/14 09:16:34 nightmorph Exp $ --> |
26 |
<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
27 |
|
28 |
<guide link="/doc/en/guide-localization.xml"> |
29 |
@@ -32,8 +32,8 @@ |
30 |
the German doc. Includes configuration for use of the euro currency symbol. |
31 |
</abstract> |
32 |
|
33 |
-<version>1.40</version> |
34 |
-<date>2009-02-25</date> |
35 |
+<version>1.41</version> |
36 |
+<date>2009-06-14</date> |
37 |
|
38 |
<chapter> |
39 |
<title>Time zone</title> |
40 |
@@ -116,7 +116,7 @@ |
41 |
systems. A locale name is generally named <c>ab_CD</c> where <c>ab</c> is your |
42 |
two (or three) letter language code (as specified in ISO-639) and <c>CD</c> is |
43 |
your two letter country code (as specified in ISO-3166). Variants are often |
44 |
-appended to locale names, e.g. <c>en_GB.utf8</c> or <c>de_DE@euro</c>. Please |
45 |
+appended to locale names, e.g. <c>en_GB.UTF-8</c> or <c>de_DE@euro</c>. Please |
46 |
explore <uri link="http://en.wikipedia.org/wiki/Locale">Wikipedia</uri> to read |
47 |
more about locales and related articles. |
48 |
</p> |
49 |
@@ -207,20 +207,21 @@ |
50 |
|
51 |
<warn> |
52 |
Using LC_ALL is strongly discouraged as it can't be overridden later on. Please |
53 |
-use it only when testing and never set it in a startup file. |
54 |
+use it only when testing and <e>never</e> set it in a startup file. |
55 |
</warn> |
56 |
|
57 |
<p> |
58 |
-Most typically users only set the LANG variable on the global basis: |
59 |
+Most typically users only set the LANG variable on the global basis. This |
60 |
+example is for a unicode German locale: |
61 |
</p> |
62 |
|
63 |
<pre caption="Setting the default system locale in /etc/env.d/02locale"> |
64 |
-LANG="de_DE.utf8@euro" |
65 |
+LANG="de_DE.UTF-8 UTF-8" |
66 |
LC_COLLATE="C" |
67 |
</pre> |
68 |
|
69 |
<note> |
70 |
-Append <c>@euro</c> to your locale if you want to use the Euro |
71 |
+Use <c>de_DE@euro ISO-8859-15</c> as your LANG if you want to use the Euro |
72 |
currency symbol (€) |
73 |
</note> |
74 |
|
75 |
@@ -232,7 +233,7 @@ |
76 |
</p> |
77 |
|
78 |
<pre caption="Setting the user locale in ~/.bashrc"> |
79 |
-export LANG="de_DE.utf8@euro" |
80 |
+export LANG="de_DE.UTF-8 UTF-8" |
81 |
export LC_COLLATE="C" |
82 |
</pre> |
83 |
|
84 |
@@ -243,7 +244,7 @@ |
85 |
</p> |
86 |
|
87 |
<pre caption="Using traditional C locale while specifying UTF-8"> |
88 |
-LC_CTYPE=de_DE.utf8 |
89 |
+LC_CTYPE=de_DE.UTF-8 UTF-8 |
90 |
</pre> |
91 |
|
92 |
<p> |
93 |
@@ -482,11 +483,10 @@ |
94 |
<body> |
95 |
|
96 |
<p> |
97 |
-In order to get your console to display the Euro symbol, you |
98 |
-will need to set <c>CONSOLEFONT</c> in |
99 |
-<path>/etc/conf.d/consolefont</path> to a file found in |
100 |
-<path>/usr/share/consolefonts/</path> (without the |
101 |
-<c>.psfu.gz</c>). <c>lat9w-16</c> has the Euro symbol. |
102 |
+In order to get your console to display the Euro symbol, you will need to set |
103 |
+<c>CONSOLEFONT</c> in <path>/etc/conf.d/consolefont</path> to a file found in |
104 |
+<path>/usr/share/consolefonts/</path> (without the <c>.psfu.gz</c>). |
105 |
+<c>lat9w-16</c> has the Euro symbol. |
106 |
</p> |
107 |
|
108 |
<pre caption="Setting the console font"> |