/[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.44 Revision 1.45
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.44 2006/10/22 23:16:13 nightmorph Exp $ --> 2<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/guide-localization.xml,v 1.45 2006/11/10 21:24:14 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.32</version> 32<version>1.33</version>
33<date>2006-10-22</date> 33<date>2006-11-10</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, <path>/etc/localtime</path> must contain the
42correct time zone data. Look around in <path>/usr/share/zoneinfo/</path> 42correct time zone data. Look around in <path>/usr/share/zoneinfo/</path>
43and pick your timezone or a near-by big city. Please avoid the 43and pick your timezone or a near-by big city. Please avoid the
44<path>/usr/share/zoneinfo/Etc/GMT*</path> timezones as their names do not 44<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. 45indicate the expected zones. For instance, <path>GMT-8</path> is in fact GMT+8.
46</p> 46</p>
47 47
48<pre caption="Setting the timezone"> 48<pre caption="Setting the timezone">
480<pre caption="Add consolefont to boot"> 480<pre caption="Add consolefont to boot">
481# <i>rc-update add consolefont boot</i> 481# <i>rc-update add consolefont boot</i>
482</pre> 482</pre>
483 483
484</body> 484</body>
485</section> 485</section>
486</chapter> 486</chapter>
487 487
488<chapter> 488<chapter>
489<title>The Euro Symbol in X</title> 489<title>The Euro Symbol in X</title>
490<section> 490<section>
491<title>Most Applications</title> 491<title>Most Applications</title>
492<body> 492<body>
493 493
494<p> 494<p>
495Getting the Euro symbol to work properly in X is a little 495Getting the Euro symbol to work properly in X is a little bit tougher. The
496bit tougher. The first thing you should do is change the <c>fixed</c> 496first thing you should do is change the <c>fixed</c> and <c>variable</c>
497and <c>variable</c> definitions in 497definitions in <path>/usr/share/fonts/misc/fonts.alias</path> to end in
498<path>/usr/X11R6/lib/X11/fonts/misc/fonts.alias</path> to end
499in <c>iso8859-15</c> instead of <c>iso8859-1</c>. 498<c>iso8859-15</c> instead of <c>iso8859-1</c>.
500</p> 499</p>
501 500
502<pre caption="Setting default X fonts"> 501<pre caption="Setting default X fonts">
503fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15 502fixed -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
504variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15 503variable -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15
505</pre> 504</pre>
506 505
507<p> 506<p>
508Some applications use their own font, and you will have to 507Some applications use their own font, and you will have to tell them separately
509tell them separately to use a font with the Euro symbol. You 508to use a font with the Euro symbol. You can do this at a user-specific level in
510can do this at a user-specific level in
511<path>.Xdefaults</path> (you can copy this file to 509<path>.Xdefaults</path> (you can copy this file to <path>/etc/skel/</path> for
512<path>/etc/skel/</path> for use by new users), or at a global 510use by new users), or at a global level for any application with a resource file
513level for any application with a resource file in
514<path>/usr/X11R6/lib/X11/app-defaults/</path> (like xterm). In 511in <path>/usr/share/X11/app-defaults/</path> (like xterm). In these files you
515these files you generally have to change an existing line, 512generally have to change an existing line, rather than adding a new one. To
516rather than adding a new one. To change our xterm font, for 513change our xterm font, for instance:
517instance:
518</p> 514</p>
519 515
520<pre caption="Setting fonts for xterm"> 516<pre caption="Setting fonts for xterm">
521<comment>(in your home directory)</comment> 517<comment>(in your home directory)</comment>
522$ <i>echo 'XTerm*font: fixed' >> .Xresources </i> 518$ <i>echo 'XTerm*font: fixed' >> .Xresources </i>
523$ <i>xrdb -merge .Xresources</i> 519$ <i>xrdb -merge .Xresources</i>
524</pre> 520</pre>
525 521
526</body> 522</body>
527</section> 523</section>
528<section> 524<section>
529<title>The Euro symbol in (X)Emacs</title> 525<title>The Euro symbol in (X)Emacs</title>
530<body> 526<body>
531 527
532<p> 528<p>

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

  ViewVC Help
Powered by ViewVC 1.1.20