/[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.45 Revision 1.46
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.45 2006/11/10 21:24:14 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.46 2007/05/07 18:11:40 nightmorph 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">
8 Alexander Holler 8 Alexander Holler
9</author> 9</author>
10<author title="Translator/Editor"> 10<author title="Translator/Editor">
11 <mail link="slucy@uchicago.edu">Steven Lucy</mail> 11 <mail link="slucy@uchicago.edu">Steven Lucy</mail>
12</author> 12</author>
13<author title="Editor"> 13<author title="Editor">
14 <mail link="bennyc@gentoo.org">Benny Chuang</mail> 14 <mail link="bennyc@gentoo.org">Benny Chuang</mail>
15</author> 15</author>
16<author title="Editor"> 16<author title="Editor">
17 <mail link="pylon@gentoo.org">Lars Weiler</mail> 17 <mail link="pylon@gentoo.org">Lars Weiler</mail>
18</author> 18</author>
19<author title="Editor"> 19<author title="Editor">
20 <mail link="dertobi123@gentoo.org">Tobias Scherbaum</mail> 20 <mail link="dertobi123@gentoo.org">Tobias Scherbaum</mail>
21</author> 21</author>
22<author title="Editor"> 22<author title="Editor">
23 <mail link="flammie@gentoo.org">Flammie Pirinen</mail> 23 <mail link="flammie@gentoo.org">Flammie Pirinen</mail>
24</author> 24</author>
25 25
26<abstract> 26<abstract>
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.33</version> 32<version>1.34</version>
33<date>2006-11-10</date> 33<date>2007-05-07</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>
39 39
40<p> 40<p>
41In order to keep time properly, <path>/etc/localtime</path> must contain the 41In order to keep time properly, you need to select your timezone so that your
42correct time zone data. Look around in <path>/usr/share/zoneinfo/</path> 42system knows where it is located. Look for your timezone in
43and pick your timezone or a near-by big city. Please avoid the 43<path>/usr/share/zoneinfo</path>. You then set your timezone in
44<path>/etc/conf.d/clock</path>. Please avoid the
44<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not 45<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not
45indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8. 46indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
46</p> 47</p>
47 48
48<pre caption="Setting the timezone"> 49<pre caption="Setting the timezone information">
49# <i>cp /usr/share/zoneinfo/Europe/Berlin /etc/localtime</i> 50# <i>ls /usr/share/zoneinfo</i>
51<comment>(Suppose you want to use Brussels)</comment>
52# <i>nano -w /etc/conf.d/clock</i>
53TIMEZONE="Europe/Brussels"
54
50# <i>date</i> 55# <i>date</i>
51Sun Feb 16 08:26:44 CET 2003 56Wed Mar 8 00:46:05 CET 2006
52</pre> 57</pre>
53 58
54<note> 59<note>
55Make sure that the timezone indicator (in this case "CET") 60Make sure that the timezone indicator (in this case "CET")
56is correct for your area. 61is correct for your area.
57</note> 62</note>
58 63
59<note> 64<note>
60You can set the value of <c>TZ</c> to be everything after the 65You can set the value of <c>TZ</c> to be everything after the
61<path>/usr/share/zoneinfo</path> in your shell rc file 66<path>/usr/share/zoneinfo</path> in your shell rc file
62(<path>.bash_profile</path> for bash) for a user-level setting. In this case 67(<path>.bash_profile</path> for bash) for a user-level setting. In this case
63<c>TZ="Europe/Berlin"</c>. 68<c>TZ="Europe/Berlin"</c>.
64</note> 69</note>
65 70
66</body> 71</body>

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46

  ViewVC Help
Powered by ViewVC 1.1.20