cam 12/04/08 20:20:55 Modified: hb-install-config.xml hb-install-system.xml Log: #408073 - moving locale settings from Installing to Configure your System - removing "optional" - adding indications to set default system locale
Revision Changes Path 1.112 xml/htdocs/doc/en/handbook/hb-install-config.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.112&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.112&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?r1=1.111&r2=1.112 Index: hb-install-config.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v retrieving revision 1.111 retrieving revision 1.112 diff -u -r1.111 -r1.112 --- hb-install-config.xml 6 Apr 2012 12:09:19 -0000 1.111 +++ hb-install-config.xml 8 Apr 2012 20:20:55 -0000 1.112 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.111 2012/04/06 12:09:19 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.112 2012/04/08 20:20:55 cam Exp $ --> <sections> @@ -14,8 +14,8 @@ proceed. </abstract> -<version>18</version> -<date>2012-04-06</date> +<version>19</version> +<date>2012-04-08</date> <section> <title>Filesystem Information</title> @@ -502,6 +502,72 @@ <path>/etc/timezone</path> file. </p> +</body> +</subsection> + +<subsection> +<title>Configure locales</title> +<body> + +<p> +You will probably only use one or maybe two locales on your system. You have to +specify locales you will need in <path>/etc/locale.gen</path>. +</p> + +<pre caption="Opening /etc/locale.gen"> +# <i>nano -w /etc/locale.gen</i> +</pre> + +<p> +The following locales are an example to get both English (United States) and +German (Germany) with the accompanying character formats (like UTF-8). +</p> + +<pre caption="Specify your locales"> +en_US ISO-8859-1 +en_US.UTF-8 UTF-8 +de_DE ISO-8859-1 +de_DE@euro ISO-8859-15 +</pre> + +<note> +You can select your desired locales in the list given by running <c>locale -a</c>. +</note> + +<p> +The next step is to run <c>locale-gen</c>. It will generates all the locales you +have specified in the <path>/etc/locale.gen</path> file. +</p> + +<pre caption="Running locale-gen"> +# <i>locale-gen</i> +</pre> + +<p> +Once done, you now have the possibility to set the system-wide locale settings +in the <path>/etc/env.d/02locale</path> file: +</p> + +<pre caption="Setting the default system locale in /etc/env.d/02locale"> +LANG="de_DE.UTF-8" +LC_COLLATE="C" +</pre> + +<p> +And reload your environment: +</p> + +<pre caption="Reload shell environment"> +# env-update && source /etc/profile +</pre> + +<p> +We made a full <uri link="../guide-localization.xml#doc_chap3">Localization +Guide</uri> to help you through this process. You can also read our detailed +<uri link="../utf-8.xml#doc_chap2">UTF-8 Guide</uri> for very specific +informations to enable UTF-8 on your system. +</p> + <p test="not(func:keyval('arch')='PPC64')"> Please continue with <uri link="?part=1&chap=9">Installing Necessary System Tools</uri>. 1.121 xml/htdocs/doc/en/handbook/hb-install-system.xml file : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.121&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?rev=1.121&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml?r1=1.120&r2=1.121 Index: hb-install-system.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v retrieving revision 1.120 retrieving revision 1.121 diff -u -r1.120 -r1.121 --- hb-install-system.xml 22 Aug 2011 16:58:02 -0000 1.120 +++ hb-install-system.xml 8 Apr 2012 20:20:55 -0000 1.121 @@ -4,7 +4,7 @@ <!-- The content of this document is licensed under the CC-BY-SA license --> <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.120 2011/08/22 16:58:02 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-system.xml,v 1.121 2012/04/08 20:20:55 cam Exp $ --> <sections> @@ -14,8 +14,8 @@ to progress to that state. </abstract> -<version>12</version> -<date>2011-08-22</date> +<version>13</version> +<date>2012-04-08</date> <section> <title>Chrooting</title> @@ -349,45 +349,5 @@ </body> </subsection> -<subsection> -<title>Optional: glibc Locales</title> -<body> - -<p> -You will probably only use one or maybe two locales on your system. You can -specify locales you will need in <path>/etc/locale.gen</path>. -</p> - -<pre caption="Opening /etc/locale.gen"> -# <i>nano -w /etc/locale.gen</i> -</pre> - -<p> -The following locales are an example to get both English (United States) and -German (Germany) with the accompanying character formats (like UTF-8). -</p> - -<pre caption="Specify your locales"> -en_US ISO-8859-1 -en_US.UTF-8 UTF-8 -de_DE ISO-8859-1 -de_DE@euro ISO-8859-15 -</pre> - -<p> -The next step is to run <c>locale-gen</c>. It will generate all the locales you -have specified in the <path>/etc/locale.gen</path> file. -</p> - -<pre caption="Running locale-gen"> -# <i>locale-gen</i> -</pre> - -<p> -Now continue with <uri link="?part=1&chap=7">Configuring the Kernel</uri>. -</p> - -</body> -</subsection> </section> </sections>
