swift 13/12/17 10:01:35 Modified: hb-install-config.xml Log: Fix bug #482284 - Add eselect locale instructions
Revision Changes Path 1.125 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.125&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?rev=1.125&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml?r1=1.124&r2=1.125 Index: hb-install-config.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v retrieving revision 1.124 retrieving revision 1.125 diff -u -r1.124 -r1.125 --- hb-install-config.xml 17 Dec 2013 09:45:47 -0000 1.124 +++ hb-install-config.xml 17 Dec 2013 10:01:35 -0000 1.125 @@ -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.124 2013/12/17 09:45:47 swift Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.125 2013/12/17 10:01:35 swift Exp $ --> <sections> @@ -14,7 +14,7 @@ proceed. </abstract> -<version>30</version> +<version>31</version> <date>2013-12-17</date> <section> @@ -572,8 +572,40 @@ </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: +You can verify that your selected locales are available by running <c>locale -a</c>. +</p> + +<p> +Once done, you now have the possibility to set the system-wide locale settings. +With <c>eselect locale list</c>, the available targets are displayed: +</p> + +<pre caption="Displaying the available LANG settings"> +# <i>eselect locale list</i> +Available targets for the LANG variable: + [1] C + [2] POSIX + [3] en_US + [4] en_US.iso88591 + [5] en_US.utf8 + [6] de_DE + [7] de_DE.iso88591 + [8] de_DE.iso885915 + [9] de_DE.utf8 + [ ] (free form) +</pre> + +<p> +With <c>eselect locale set <value></c> the correct locale can be set: +</p> + +<pre caption="Setting the LANG variable"> +# <i>eselect locale set 9</i> +</pre> + +<p> +Manually, this can still be accomplished through the +<path>/etc/env.d/02locale</path> file: </p> <pre caption="Setting the default system locale in /etc/env.d/02locale"> @@ -582,11 +614,11 @@ </pre> <p> -And reload your environment: +Don't forget to reload your environment: </p> <pre caption="Reload shell environment"> -# env-update && source /etc/profile +# <i>env-update && source /etc/profile</i> </pre> <p>
