/[gentoo]/xml/htdocs/doc/en/guide-localization.xml
Gentoo

Diff of /xml/htdocs/doc/en/guide-localization.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.42 Revision 1.43
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.42 2006/06/19 12:08:14 flammie Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.43 2006/07/19 11:46:29 rane Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/guide-localization.xml"> 5<guide link="/doc/en/guide-localization.xml">
6<title>Gentoo Linux Localization Guide</title> 6<title>Gentoo Linux Localization Guide</title>
7<author title="Author"> 7<author title="Author">
27This guide should help users localize their Gentoo Linux distribution to any 27This guide should help users localize their Gentoo Linux distribution to any
28European locale. It uses Germany as a case-study, since it is translated from 28European locale. It uses Germany as a case-study, since it is translated from
29the German doc. Includes configuration for use of the euro currency symbol. 29the German doc. Includes configuration for use of the euro currency symbol.
30</abstract> 30</abstract>
31 31
32<version>1.30</version> 32<version>1.31</version>
33<date>2006-06-19</date> 33<date>2006-07-18</date>
34 34
35<chapter> 35<chapter>
36<title>Time zone</title> 36<title>Time zone</title>
37<section> 37<section>
38<body> 38<body>
312</p> 312</p>
313 313
314</body> 314</body>
315</section> 315</section>
316<section> 316<section>
317<title>The userlocales USE flag</title> 317<title>Generating locales for glibc</title>
318<body> 318<body>
319 319
320<p> 320<p>
321You will probably only use one or maybe two locales on your system. Up until now 321You will probably only use one or maybe two locales on your system. You can
322after compiling <c>glibc</c> a full set of all available locales has been
323created. As of now you can activate the <c>userlocales</c> USE flag and specify
324only the locales you will need in <path>/etc/locales.build</path>. 322specify locales you will need in <path>/etc/locale.gen</path>.
325</p>
326
327<pre caption="Activate the userlocales USE flag especially for glibc">
328echo "sys-libs/glibc userlocales" >> /etc/portage/package.use
329</pre>
330
331<p> 323</p>
332Now specify the locales you want to be able to use:
333</p>
334 324
335<pre caption="Adding locales to /etc/locales.build"> 325<pre caption="Adding locales to /etc/locale.gen">
336en_US/ISO-8859-1 326en_GB ISO-8859-1
337en_US.UTF-8/UTF-8 327en_GB.UTF-8 UTF-8
338de_DE/ISO-8859-1 328de_DE ISO-8859-1
339de_DE@euro/ISO-8859-15 329de_DE@euro ISO-8859-15
340</pre> 330</pre>
341 331
342<p>
343The next step is to re-compile <c>glibc</c>. Of course you can defer this until
344the next <c>glibc</c> upgrade is available.
345</p> 332<p>
333The next step is to run <c>locale-gen</c>. It will generate all the locales you
334have specified in the <path>/etc/locale.gen</path> file.
335</p>
336
337<note>
338<c>locale-gen</c> is available in <c>glibc-2.3.6-r4</c> and newer. If you have
339an older version of glibc, you should update it now.
340</note>
346 341
347</body> 342</body>
348</section> 343</section>
349</chapter> 344</chapter>
350 345

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43

  ViewVC Help
Powered by ViewVC 1.1.20