nightmorph 09/06/14 09:16:34 Modified: guide-localization.xml Log: updated localization guide for valid locale entries as obtained from /usr/share/i18n/SUPPORTED. bug 273779
Revision Changes Path 1.55 xml/htdocs/doc/en/guide-localization.xml file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.55&view=markup plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?rev=1.55&content-type=text/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/doc/en/guide-localization.xml?r1=1.54&r2=1.55 Index: guide-localization.xml =================================================================== RCS file: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v retrieving revision 1.54 retrieving revision 1.55 diff -u -r1.54 -r1.55 --- guide-localization.xml 25 Feb 2009 21:18:19 -0000 1.54 +++ guide-localization.xml 14 Jun 2009 09:16:34 -0000 1.55 @@ -1,5 +1,5 @@ <?xml version='1.0' encoding='UTF-8'?> -<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.54 2009/02/25 21:18:19 nightmorph Exp $ --> +<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.55 2009/06/14 09:16:34 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.40</version> -<date>2009-02-25</date> +<version>1.41</version> +<date>2009-06-14</date> <chapter> <title>Time zone</title> @@ -116,7 +116,7 @@ systems. A locale name is generally named <c>ab_CD</c> where <c>ab</c> is your two (or three) letter language code (as specified in ISO-639) and <c>CD</c> is your two letter country code (as specified in ISO-3166). Variants are often -appended to locale names, e.g. <c>en_GB.utf8</c> or <c>de...@euro</c>. Please +appended to locale names, e.g. <c>en_GB.UTF-8</c> or <c>de...@euro</c>. Please explore <uri link="http://en.wikipedia.org/wiki/Locale">Wikipedia</uri> to read more about locales and related articles. </p> @@ -207,20 +207,21 @@ <warn> Using LC_ALL is strongly discouraged as it can't be overridden later on. Please -use it only when testing and never set it in a startup file. +use it only when testing and <e>never</e> set it in a startup file. </warn> <p> -Most typically users only set the LANG variable on the global basis: +Most typically users only set the LANG variable on the global basis. This +example is for a unicode German locale: </p> <pre caption="Setting the default system locale in /etc/env.d/02locale"> -LANG="de_de.u...@euro" +LANG="de_DE.UTF-8 UTF-8" LC_COLLATE="C" </pre> <note> -Append <c>@euro</c> to your locale if you want to use the Euro +Use <c>de...@euro ISO-8859-15</c> as your LANG if you want to use the Euro currency symbol (€) </note> @@ -232,7 +233,7 @@ </p> <pre caption="Setting the user locale in ~/.bashrc"> -export LANG="de_de.u...@euro" +export LANG="de_DE.UTF-8 UTF-8" export LC_COLLATE="C" </pre> @@ -243,7 +244,7 @@ </p> <pre caption="Using traditional C locale while specifying UTF-8"> -LC_CTYPE=de_DE.utf8 +LC_CTYPE=de_DE.UTF-8 UTF-8 </pre> <p> @@ -482,11 +483,10 @@ <body> <p> -In order to get your console to display the Euro symbol, you -will need to set <c>CONSOLEFONT</c> in -<path>/etc/conf.d/consolefont</path> to a file found in -<path>/usr/share/consolefonts/</path> (without the -<c>.psfu.gz</c>). <c>lat9w-16</c> has the Euro symbol. +In order to get your console to display the Euro symbol, you will need to set +<c>CONSOLEFONT</c> in <path>/etc/conf.d/consolefont</path> to a file found in +<path>/usr/share/consolefonts/</path> (without the <c>.psfu.gz</c>). +<c>lat9w-16</c> has the Euro symbol. </p> <pre caption="Setting the console font">
