Gentoo Archives: gentoo-doc-cvs

From: "Sven Vermeulen (swift)" <swift@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en/handbook: hb-install-config.xml
Date: Tue, 17 Dec 2013 10:01:38
Message-Id: 20131217100135.AA1B02004B@flycatcher.gentoo.org
1 swift 13/12/17 10:01:35
2
3 Modified: hb-install-config.xml
4 Log:
5 Fix bug #482284 - Add eselect locale instructions
6
7 Revision Changes Path
8 1.125 xml/htdocs/doc/en/handbook/hb-install-config.xml
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.125&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.125&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?r1=1.124&r2=1.125
13
14 Index: hb-install-config.xml
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v
17 retrieving revision 1.124
18 retrieving revision 1.125
19 diff -u -r1.124 -r1.125
20 --- hb-install-config.xml 17 Dec 2013 09:45:47 -0000 1.124
21 +++ hb-install-config.xml 17 Dec 2013 10:01:35 -0000 1.125
22 @@ -4,7 +4,7 @@
23 <!-- The content of this document is licensed under the CC-BY-SA license -->
24 <!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
25
26 -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.124 2013/12/17 09:45:47 swift Exp $ -->
27 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.125 2013/12/17 10:01:35 swift Exp $ -->
28
29 <sections>
30
31 @@ -14,7 +14,7 @@
32 proceed.
33 </abstract>
34
35 -<version>30</version>
36 +<version>31</version>
37 <date>2013-12-17</date>
38
39 <section>
40 @@ -572,8 +572,40 @@
41 </pre>
42
43 <p>
44 -Once done, you now have the possibility to set the system-wide locale settings
45 -in the <path>/etc/env.d/02locale</path> file:
46 +You can verify that your selected locales are available by running <c>locale -a</c>.
47 +</p>
48 +
49 +<p>
50 +Once done, you now have the possibility to set the system-wide locale settings.
51 +With <c>eselect locale list</c>, the available targets are displayed:
52 +</p>
53 +
54 +<pre caption="Displaying the available LANG settings">
55 +# <i>eselect locale list</i>
56 +Available targets for the LANG variable:
57 + [1] C
58 + [2] POSIX
59 + [3] en_US
60 + [4] en_US.iso88591
61 + [5] en_US.utf8
62 + [6] de_DE
63 + [7] de_DE.iso88591
64 + [8] de_DE.iso885915
65 + [9] de_DE.utf8
66 + [ ] (free form)
67 +</pre>
68 +
69 +<p>
70 +With <c>eselect locale set &lt;value&gt;</c> the correct locale can be set:
71 +</p>
72 +
73 +<pre caption="Setting the LANG variable">
74 +# <i>eselect locale set 9</i>
75 +</pre>
76 +
77 +<p>
78 +Manually, this can still be accomplished through the
79 +<path>/etc/env.d/02locale</path> file:
80 </p>
81
82 <pre caption="Setting the default system locale in /etc/env.d/02locale">
83 @@ -582,11 +614,11 @@
84 </pre>
85
86 <p>
87 -And reload your environment:
88 +Don't forget to reload your environment:
89 </p>
90
91 <pre caption="Reload shell environment">
92 -# env-update &amp;&amp; source /etc/profile
93 +# <i>env-update &amp;&amp; source /etc/profile</i>
94 </pre>
95
96 <p>