/[gentoo]/xml/htdocs/doc/en/guide-localization.xml
Gentoo

Diff of /xml/htdocs/doc/en/guide-localization.xml

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

Revision 1.23 Revision 1.28
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.23 2005/05/25 17:10:37 swift Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.28 2005/06/24 18:04:15 fox2mike Exp $ -->
3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> 3<!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4 4
5<guide link="/doc/en/guide-localization.xml"> 5<guide link="/doc/en/guide-localization.xml">
6<title>Gentoo Linux Localization Guide</title> 6<title>Gentoo Linux Localization Guide</title>
7<author title="Author"> 7<author title="Author">
27This guide should help users localize their Gentoo Linux distribution to any 27This guide should help users localize their Gentoo Linux distribution to any
28European locale. It uses Germany as a case-study, since it is translated from 28European locale. It uses Germany as a case-study, since it is translated from
29the German doc. Includes configuration for use of the euro currency symbol. 29the German doc. Includes configuration for use of the euro currency symbol.
30</abstract> 30</abstract>
31 31
32<version>1.14</version> 32<version>1.19</version>
33<date>2005-05-09</date> 33<date>2005-06-24</date>
34 34
35<chapter> 35<chapter>
36<title>Time zone</title> 36<title>Time zone</title>
37<section> 37<section>
38<body> 38<body>
64</body> 64</body>
65</section> 65</section>
66</chapter> 66</chapter>
67 67
68<chapter> 68<chapter>
69<title>System Clock</title> 69<title>Hardware Clock</title>
70<section> 70<section>
71<body> 71<body>
72 72
73<p> 73<p>
74In most Gentoo Linux installations, your system clock is set to 74In most Gentoo Linux installations, your hardware clock is set to
75UTC (or GMT, Greenwich Mean Time) and then your timezone is 75UTC (or GMT, Greenwich Mean Time) and then your timezone is
76taken into account to determine the actual, local time. If, 76taken into account to determine the actual, local time. If,
77for some reason, you need your system clock not to be in UTC, 77for some reason, you need your hardware clock not to be in UTC,
78you will need to edit <path>/etc/rc.conf</path> and change the 78you will need to edit <path>/etc/conf.d/clock</path> and change the
79value of <c>CLOCK</c>. 79value of <c>CLOCK</c> from <c>UTC</c> to <c>local</c>.
80</p> 80</p>
81 81
82<pre caption="local vs. GMT clock"> 82<pre caption="local vs. GMT clock">
83<comment>(recommended:)</comment> 83<comment>(recommended:)</comment>
84CLOCK="UTC" 84CLOCK="UTC"
99<p> 99<p>
100A Locale is a set of information that most programs use for determining 100A Locale is a set of information that most programs use for determining
101country and language specific settings. The locales and their data 101country and language specific settings. The locales and their data
102are part of the system library and can be found 102are part of the system library and can be found
103at <path>/usr/share/locale</path> on most systems. A locale name is generally 103at <path>/usr/share/locale</path> on most systems. A locale name is generally
104named <c>ab_CD</c >where <c>ab</c> is your two (or three) letter 104named <c>ab_CD</c> where <c>ab</c> is your two (or three) letter
105language code (as specified in ISO-639) and <c>CD</c> is your two letter country 105language code (as specified in ISO-639) and <c>CD</c> is your two letter country
106code (as specified in ISO-3199). 106code (as specified in ISO-3199).
107</p> 107</p>
108 108
109</body> 109</body>
183 individual LC_* settings above or even by LC_ALL. 183 individual LC_* settings above or even by LC_ALL.
184 </ti> 184 </ti>
185</tr> 185</tr>
186</table> 186</table>
187 187
188<note>
189Even though most programs work with LC_ALL only, some of them misbehave if
190LC_ALL is set but LANG isn't. If you want to play safe, set them <e>both</e>.
191</note>
192
188<p> 193<p>
189Most typically users only set the LANG variable and perhaps LC_CTYPE variable 194Most typically users only set the LANG variable and perhaps LC_CTYPE variable
190on user level by adding definitions to shells startup files defining 195on user level by adding definitions to shells startup files defining
191the environment variable manually from command line: 196the environment variable manually from command line:
192</p> 197</p>
274<section> 279<section>
275<body> 280<body>
276 281
277<p> 282<p>
278The keyboard layout used by the console is set in 283The keyboard layout used by the console is set in
279<path>/etc/rc.conf</path> by the <c>KEYMAP</c> variable. 284<path>/etc/conf.d/keymaps</path> by the <c>KEYMAP</c> variable.
280Valid values can be found in 285Valid values can be found in
281<path>/usr/share/keymaps/<c>{arch}</c>/</path>. 286<path>/usr/share/keymaps/<c>{arch}</c>/</path>.
282<path>i386</path> has further subdivisions into layout 287<path>i386</path> has further subdivisions into layout
283(<path>qwerty/</path>, <path>azerty/</path>, etc.). Some 288(<path>qwerty/</path>, <path>azerty/</path>, etc.). Some
284languages have multiple options, so you may wish to experiment 289languages have multiple options, so you may wish to experiment

Legend:
Removed from v.1.23  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20