nightmorph 10/02/14 20:24:37 Modified: guide-localization.xml Log: Remove deprecated localedef section in favor of just using locale-gen. bug 305131; thanks vapier for reporting.
Revision Changes Path 1.61 xml/htdocs/doc/en/guide-localization.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.61&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.61&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?r1=1.60&r2=1.61 Index: guide-localization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v retrieving revision 1.60 retrieving revision 1.61 diff -u -r1.60 -r1.61 --- guide-localization.xml 15 Nov 2009 23:51:02 -0000 1.60 +++ guide-localization.xml 14 Feb 2010 20:24:37 -0000 1.61 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.60 2009/11/15 23:51:02 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.61 2010/02/14 20:24:37 nightmorph Exp $ --> <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> <guide link="/doc/en/guide-localization.xml"> @@ -32,8 +32,8 @@ the German doc. Includes configuration for use of the euro currency symbol. </abstract> -<version>1.45</version> -<date>2009-11-15</date> +<version>1.46</version> +<date>2010-02-14</date> <chapter> <title>Time zone</title> @@ -310,43 +310,6 @@ <body> <p> -If you use a locale that isn't available by default, you should use -<c>localedef</c> to generate your locale. For instance: -</p> - -<pre caption="Generating a locale using localedef"> -# <i>localedef -c -i en_US -f ISO-8859-15 en_US.ISO-8859-15</i> -</pre> - -<p> -After having generated the locale, you can export the LANG variable as you see -fit. -</p> - -<pre caption="Exporting the LANG variable"> -# <i>export LANG="en_US.ISO-8859-15"</i> -</pre> - -<p> -Be sure to update the environment after the change: -</p> - -<pre caption="Update the environment"> -# <i>env-update && source /etc/profile</i> -</pre> - -<p> -After this, you will need to kill your X server by pressing -<c>Ctrl-Alt-Backspace</c>, log out, then log in as user. -</p> - -</body> -</section> -<section> -<title>Generating locales for glibc</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>