| 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.13 2004/04/11 10:52:16 cam Exp $ --> |
2 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.14 2004/04/11 13:50:26 swift 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"> |
| … | |
… | |
| 21 | This guide should help users localize their Gentoo Linux distribution to any |
21 | This guide should help users localize their Gentoo Linux distribution to any |
| 22 | European locale. It uses Germany as a case-study, since it is translated from |
22 | European locale. It uses Germany as a case-study, since it is translated from |
| 23 | the German doc. Includes configuration for use of the Euro currency symbol. |
23 | the German doc. Includes configuration for use of the Euro currency symbol. |
| 24 | </abstract> |
24 | </abstract> |
| 25 | |
25 | |
| 26 | <version>1.9</version> |
26 | <version>1.10</version> |
| 27 | <date>February 12, 2004</date> |
27 | <date>April 11, 2004</date> |
| 28 | |
28 | |
| 29 | <chapter> |
29 | <chapter> |
| 30 | <title>Timezone</title> |
30 | <title>Timezone</title> |
| 31 | <section> |
31 | <section> |
| 32 | <body> |
32 | <body> |
| … | |
… | |
| 85 | </chapter> |
85 | </chapter> |
| 86 | |
86 | |
| 87 | <chapter> |
87 | <chapter> |
| 88 | <title>POSIX Locale</title> |
88 | <title>POSIX Locale</title> |
| 89 | <section> |
89 | <section> |
|
|
90 | <title>Using Existing Locales</title> |
| 90 | <body> |
91 | <body> |
| 91 | |
92 | |
| 92 | <p> |
93 | <p> |
| 93 | The next step is to set the <c>LANG</c> shell variable, which |
94 | The next step is to set the <c>LANG</c> shell variable, which |
| 94 | is used by your shell and window manager (and some other |
95 | is used by your shell and window manager (and some other |
| … | |
… | |
| 112 | currency symbol (€) |
113 | currency symbol (€) |
| 113 | </note> |
114 | </note> |
| 114 | |
115 | |
| 115 | </body> |
116 | </body> |
| 116 | </section> |
117 | </section> |
|
|
118 | <section> |
|
|
119 | <title>Generating Specific Locales</title> |
|
|
120 | <body> |
|
|
121 | |
|
|
122 | <p> |
|
|
123 | If you use a locale that isn't available by default, you should use |
|
|
124 | <c>localedef</c> to generate your locale. For instance: |
|
|
125 | </p> |
|
|
126 | |
|
|
127 | <pre caption="Generating a locale using localedef"> |
|
|
128 | # <i>localedef -c -i en_US -f ISO-8859-15 en_US.ISO-8859-15</i> |
|
|
129 | </pre> |
|
|
130 | |
|
|
131 | <p> |
|
|
132 | After having generated the locale, you can export the LANG variable as you see |
|
|
133 | fit. |
|
|
134 | </p> |
|
|
135 | |
|
|
136 | <pre caption="Exporting the LANG variable"> |
|
|
137 | # <i>export LANG="en_US.ISO-8859-15"</i> |
|
|
138 | </pre> |
|
|
139 | |
|
|
140 | </body> |
|
|
141 | </section> |
| 117 | </chapter> |
142 | </chapter> |
| 118 | |
143 | |
| 119 | <chapter> |
144 | <chapter> |
| 120 | <title>Keyboard layout for the console</title> |
145 | <title>Keyboard layout for the console</title> |
| 121 | <section> |
146 | <section> |