Gentoo Archives: gentoo-doc-cvs

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-doc-cvs@l.g.o
Subject: [gentoo-doc-cvs] gentoo commit in xml/htdocs/doc/en: guide-localization.xml
Date: Sun, 14 Feb 2010 20:24:42
Message-Id: E1Ngl1B-0005HY-GC@stork.gentoo.org
1 nightmorph 10/02/14 20:24:37
2
3 Modified: guide-localization.xml
4 Log:
5 Remove deprecated localedef section in favor of just using locale-gen. bug 305131; thanks vapier for reporting.
6
7 Revision Changes Path
8 1.61 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.61&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.61&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?r1=1.60&r2=1.61
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.60
18 retrieving revision 1.61
19 diff -u -r1.60 -r1.61
20 --- guide-localization.xml 15 Nov 2009 23:51:02 -0000 1.60
21 +++ guide-localization.xml 14 Feb 2010 20:24:37 -0000 1.61
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.60 2009/11/15 23:51:02 nightmorph Exp $ -->
25 +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.61 2010/02/14 20:24:37 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.45</version>
34 -<date>2009-11-15</date>
35 +<version>1.46</version>
36 +<date>2010-02-14</date>
37
38 <chapter>
39 <title>Time zone</title>
40 @@ -310,43 +310,6 @@
41 <body>
42
43 <p>
44 -If you use a locale that isn't available by default, you should use
45 -<c>localedef</c> to generate your locale. For instance:
46 -</p>
47 -
48 -<pre caption="Generating a locale using localedef">
49 -# <i>localedef -c -i en_US -f ISO-8859-15 en_US.ISO-8859-15</i>
50 -</pre>
51 -
52 -<p>
53 -After having generated the locale, you can export the LANG variable as you see
54 -fit.
55 -</p>
56 -
57 -<pre caption="Exporting the LANG variable">
58 -# <i>export LANG="en_US.ISO-8859-15"</i>
59 -</pre>
60 -
61 -<p>
62 -Be sure to update the environment after the change:
63 -</p>
64 -
65 -<pre caption="Update the environment">
66 -# <i>env-update &amp;&amp; source /etc/profile</i>
67 -</pre>
68 -
69 -<p>
70 -After this, you will need to kill your X server by pressing
71 -<c>Ctrl-Alt-Backspace</c>, log out, then log in as user.
72 -</p>
73 -
74 -</body>
75 -</section>
76 -<section>
77 -<title>Generating locales for glibc</title>
78 -<body>
79 -
80 -<p>
81 You will probably only use one or maybe two locales on your system. You can
82 specify locales you will need in <path>/etc/locale.gen</path>.
83 </p>