/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

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

Revision 1.124 Revision 1.125
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/2.5 --> 5<!-- See http://creativecommons.org/licenses/by-sa/2.5 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.124 2013/12/17 09:45:47 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.125 2013/12/17 10:01:35 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<abstract> 11<abstract>
12You need to edit some important configuration files. In this chapter 12You need to edit some important configuration files. In this chapter
13you receive an overview of these files and an explanation on how to 13you receive an overview of these files and an explanation on how to
14proceed. 14proceed.
15</abstract> 15</abstract>
16 16
17<version>30</version> 17<version>31</version>
18<date>2013-12-17</date> 18<date>2013-12-17</date>
19 19
20<section> 20<section>
21<title>Filesystem Information</title> 21<title>Filesystem Information</title>
22<subsection> 22<subsection>
570<pre caption="Running locale-gen"> 570<pre caption="Running locale-gen">
571# <i>locale-gen</i> 571# <i>locale-gen</i>
572</pre> 572</pre>
573 573
574<p> 574<p>
575You can verify that your selected locales are available by running <c>locale -a</c>.
576</p>
577
578<p>
575Once done, you now have the possibility to set the system-wide locale settings 579Once done, you now have the possibility to set the system-wide locale settings.
580With <c>eselect locale list</c>, the available targets are displayed:
581</p>
582
583<pre caption="Displaying the available LANG settings">
584# <i>eselect locale list</i>
585Available targets for the LANG variable:
586 [1] C
587 [2] POSIX
588 [3] en_US
589 [4] en_US.iso88591
590 [5] en_US.utf8
591 [6] de_DE
592 [7] de_DE.iso88591
593 [8] de_DE.iso885915
594 [9] de_DE.utf8
595 [ ] (free form)
596</pre>
597
598<p>
599With <c>eselect locale set &lt;value&gt;</c> the correct locale can be set:
600</p>
601
602<pre caption="Setting the LANG variable">
603# <i>eselect locale set 9</i>
604</pre>
605
606<p>
607Manually, this can still be accomplished through the
576in the <path>/etc/env.d/02locale</path> file: 608<path>/etc/env.d/02locale</path> file:
577</p> 609</p>
578 610
579<pre caption="Setting the default system locale in /etc/env.d/02locale"> 611<pre caption="Setting the default system locale in /etc/env.d/02locale">
580LANG="de_DE.UTF-8" 612LANG="de_DE.UTF-8"
581LC_COLLATE="C" 613LC_COLLATE="C"
582</pre> 614</pre>
583 615
584<p> 616<p>
585And reload your environment: 617Don't forget to reload your environment:
586</p> 618</p>
587 619
588<pre caption="Reload shell environment"> 620<pre caption="Reload shell environment">
589# env-update &amp;&amp; source /etc/profile 621# <i>env-update &amp;&amp; source /etc/profile</i>
590</pre> 622</pre>
591 623
592<p> 624<p>
593We made a full <uri link="https://wiki.gentoo.org/wiki/Localization/HOWTO">Localization 625We made a full <uri link="https://wiki.gentoo.org/wiki/Localization/HOWTO">Localization
594Guide</uri> to help you through this process. You can also read the detailed 626Guide</uri> to help you through this process. You can also read the detailed

Legend:
Removed from v.1.124  
changed lines
  Added in v.1.125

  ViewVC Help
Powered by ViewVC 1.1.20