/[gentoo-dk]/gentoo-dk/pre1/guide-localization.xml
ViewVC logotype

Diff of /gentoo-dk/pre1/guide-localization.xml

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

revision 1.1 by mejlholm, Tue Nov 18 23:39:12 2003 UTC revision 1.2 by mejlholm, Fri Nov 21 17:24:32 2003 UTC
# Line 1  Line 1 
1  <?xml version='1.0' encoding='UTF-8'?>  <?xml version='1.0' encoding='iso-8859-1'?>
2  <!-- $Header$ -->  <!-- $Header$ -->
3  <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">  <!DOCTYPE guide SYSTEM "/dtd/guide.dtd">
4    
5  <guide link="/doc/en/guide-localization.xml">  <guide link="/doc/da/guide-localization.xml">
6  <title>Gentoo Linux Localization Guide</title>  <title>Gentoo Linux Localization Guide</title>
7  <author title="Author"><mail link="holler@ahsoftware.de">  <author title="Forfatter"><mail link="holler@ahsoftware.de">
8          Alexander Holler</mail>          Alexander Holler</mail>
9  </author>  </author>
10  <author title="Translator/Editor"><mail link="slucy@uchicago.edu">  <author title="Oversætter(engelsk)/Redaktør"><mail link="slucy@uchicago.edu">
11          Steven Lucy</mail>          Steven Lucy</mail>
12  </author>  </author>
13  <author title="Editor">  <author title="Redaktør">
14    <mail link="bennyc@gentoo.org">Benny Chuang</mail>    <mail link="bennyc@gentoo.org">Benny Chuang</mail>
15  </author>  </author>
16    <author title="Oversætter">
17      <mail link="aaby@gentoo.org">Arne Mejlholm</mail>
18    </author>
19  <abstract>  <abstract>
20  This guide should help users localize their Gentoo Linux distribution to any  Denne guide bør hjælpe brugere med at lokalisere deres Gentoo Linux
21  European locale.  It uses Germany as a case-study, since it is translated from  distribution til et hvilket som helst Europæisk lokale. Det bruger
22  the German doc.  Includes configuration for use of the Euro currency symbol.  tysk som et eksempel, da det er oversat fra det tyske dokument. Det
23    inkluderer den konfiguration der skal til for at bruge valuta symbolet Euro'en.
24  </abstract>  </abstract>
25    
26  <chapter>  <chapter>
27  <title>Timezone</title>  <title>Tidszone</title>
28  <section>  <section>
29          <body>          <body>
30                  <p>In order to keep time properly,                  <p> For at holde styr på tid korrekt skal
31                  <path>/etc/localtime</path> must point to the correct time zone                  <path>/etc/localtime</path> pege på den korrekte
32                  data file.  Look around in <path>/usr/share/zoneinfo/</path>                  tidszone data fil. Kig dig omkring i <path>/usr/share/zoneinfo/</path>
33                  and pick your timezone or a near-by big city.                  og vælg din tidszone eller storby der er tæt ved.
34  <pre caption="setting the timezone">  
35    <pre caption="At sætte tidszonen">
36  # <i>ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime</i>  # <i>ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime</i>
37  # <i>date</i>  # <i>date</i>
38  Sun Feb 16 08:26:44 CET 2003  Sun Feb 16 08:26:44 CET 2003
39  </pre>  </pre>
40  <note>Make sure that the three-letter timezone indicator (in this case "CET")  <note>Vær sikker på at den tre bogstavs tidszone indikator (i dette tilfælde "CET")
41  is correct for your area.</note>   er korrekt for dit område.</note>
42  <note>You can set the value of <i>TZ</i> to be everything after the  <note>Du kan sætte værdien af <i>TZ</i> til at være hvad som helst
43  <path>/usr/share/zoninfo</path> in your shell rc file  efter <path>/usr/share/zoneinfo</path> i din shell rc fil.
44  (<path>.bash_profile</path> for bash) for a user-level setting.  In this case  (<path>.bash_profile</path> for bash) for at få en opsætning på
45    bruger-niveau. I dette tilfælde
46  <i>TZ="Europe/Berlin"</i>.</note>  <i>TZ="Europe/Berlin"</i>.</note>
47                  </p>                  </p>
48          </body>          </body>
# Line 44  is correct for your area.</note> Line 50  is correct for your area.</note>
50  </chapter>  </chapter>
51    
52  <chapter>  <chapter>
53  <title>System Clock</title>  <title>Systemets ur</title>
54  <section>  <section>
55          <body>          <body>
56                  <p>                  <p>
57                  In most Gentoo Linux installations, your system clock is set to                  På de fleste Gentoo Linux installationer er dit
58                  UTC (or GMT, Greenwhich Mean Time) and then your timezone is                  systems ur sat til UTC (eller GMT, Greenwhich Mean
59                  taken into account to determine the actual, local time.  If,                  Time) og derefter tages din tidszone i betragtning for
60                  for some reason, you need your system clock not to be in UTC,                  at bestemme den faktiske lokale tid. Hvis du af en
61                  you will need to edit <path>/etc/rc.conf</path> and change the                  eller anden årsag har brug for at dit systems ur er
62                  value of <i>CLOCK</i>.                  sat til UTC skal du åbne <path>/etc/rc.conf</path> og
63                    ændre værdien af <i>CLOCK</i>.
64    
65  <pre caption="local vs. GMT clock">  <pre caption="local vs. GMT ur">
66   <codenote>recommended:</codenote>   <codenote>anbefalet:</codenote>
67   CLOCK="UTC"   CLOCK="UTC"
68   <codenote>or:</codenote>   <codenote>eller:</codenote>
69   CLOCK="local"   CLOCK="local"
70  </pre>  </pre>
71                  </p>                  </p>
# Line 67  is correct for your area.</note> Line 74  is correct for your area.</note>
74  </chapter>  </chapter>
75    
76  <chapter>  <chapter>
77  <title>POSIX Locale</title>  <title>POSIX Lokale</title>
78  <section>  <section>
79          <body>          <body>
80                  <p>                  <p>
81                  The next step is to set the <i>LANG</i> shell variable, which                  Det næste skridt er at sætte <i>LANG</i> shell
82                  is used by your shell and window manager (and some other                  variablen, som bruges af din shell og window manager
83                  applications).  Valid values can be found in                  (og nogle andre applicationer). Gyldige værdier kan
84                  <path>/usr/share/locale</path> and generally take the form                  findes i <path>/usr/share/locale</path> og har
85                  <i>ab_CD</i>, where <i>ab</i> is your two letter language code                  generelt formen
86                  and <i>CD</i> is your two letter country code.  the <i>_CD</i>                  <i>ab_CD</i>, hvor <i>ab</i> er din to bogstavs sprog
87                  is left off if your language is only (or primarily) spoken in                  kode og <i>CD</i> er dit to bogstavs landekode. <i>_CD</i>
88                  one country.  <i>LANG</i> can be set in                  udelades hvis dit sprog kun (eller primært) tales i et
89                  <path>/etc/profile</path> if you want it to take effect                  land. <i>LANG</i> kan sættes i din
90                  system-wide, or in <path>~/.bashrc</path> as a user-specific                  <path>/etc/profile</path> hvis du vil gøre dette
91                  setting.                  omfattende for hele systemet eller i
92  <pre caption="setting the POSIX locale">                  <path>~/.bashrc</path> for en bruger bestemt
93                    opsætning.
94    
95    <pre caption="At sætte POSIX lokalet">
96   export LANG="de_DE@euro"   export LANG="de_DE@euro"
97  </pre>  </pre>
98  <note>Appended <i>@euro</i> to your locale if you want to use the new Euro  <note>Tilføj <i>@euro</i> til dit lokale hvis du vil bruge det nye
99  currency symbol (&#8364;)</note>  Euro valuta symbol (&#8364;)</note>
100                  </p>                  </p>
101          </body>          </body>
102  </section>  </section>
103  </chapter>  </chapter>
104    
105  <chapter>  <chapter>
106  <title>Keyboard layout for the console</title>  <title>Keyboard layout for konsollen</title>
107  <section>  <section>
108          <body>          <body>
109                  <p>                  <p>
110                  The keyboard layout used by the console is set in                  Det keyboard layout der bliver brugt af konsollen
111                  <path>/etc/rc.conf</path> by the <i>KEYMAP</i> variable.                  bliver sat i <path>/etc/rc.conf</path> af
112                  Valid values can be found in                  <i>KEYMAP</i> variablen. Gyldige værdier kan findes i
113                  <path>/usr/share/keymaps/<i>{arch}</i>/</path>.                  <path>/usr/share/keymaps/<i>{arch}</i>/</path>.
114                  <path>i386</path> has further subdivisions into layout                  <path>i386</path> har yderligere underafdelinger i
115                  (<path>qwerty/</path>, <path>azerty/</path>, etc.).  Some                  layoutet (<path>qwerty/</path>, <path>azerty/</path>,
116                  languages have multiple options, so you may wish to experiment                  osv.). Nogle sprog har flere muligheder, så du vil
117                  to decide which one fits your needs best.                  måske gerne eksperimentere for at beslutte hvilken en
118  <pre caption="setting the console keymap">                  der bedst passer til dine behov.
119    
120    <pre caption="At sætte konsollens keymap">
121   KEYMAP="de"   KEYMAP="de"
122   KEYMAP="de-latin1"   KEYMAP="de-latin1"
123   KEYMAP="de-latin1-nodeadkeys"   KEYMAP="de-latin1-nodeadkeys"
# Line 116  currency symbol (&#8364;)</note> Line 128  currency symbol (&#8364;)</note>
128  </chapter>  </chapter>
129    
130  <chapter>  <chapter>
131  <title>Keyboard layout for the X server</title>  <title>Keyboard layout for X serveren</title>
132  <section>  <section>
133          <body>          <body>
134                  <p>The keyboard layout to be used by the X server is specified                  <p>Det keyboard layout som bruges af X serveren
135                  in <path>/etc/X11/XF86Config</path> by the <i>XkbLayout</i>                  specificeres i <path>/etc/X11/XF86Config</path> af <i>XkbLayout</i>
136                  option.                  muligheden.
137  <pre caption="setting the X keymap">  
138    <pre caption="At sætte X serverens keymap">
139   Section "InputDevice"   Section "InputDevice"
140       Identifier  "Keyboard1"       Identifier  "Keyboard1"
141       ...       ...
142       Option "XkbLayout"    "de"       Option "XkbLayout"    "de"
143       # Option XkbVariant"  "nodeadkeys"       # Option "XkbVariant"  "nodeadkeys"
144       ...       ...
145  </pre>  </pre>
146                  </p>                  </p>
# Line 136  currency symbol (&#8364;)</note> Line 149  currency symbol (&#8364;)</note>
149  </chapter>  </chapter>
150    
151  <chapter>  <chapter>
152  <title>The Euro Symbol for the Console</title>  <title>Euro Symbolet Konsollen</title>
153  <section>  <section>
154          <body>          <body>
155                  <p>                  <p>
156                  In order to get your console to display the Euro symbol, you                  For at få din konsol til at vise Euro symbolet bliver
157                  will need to set <i>CONSOLEFONT</i> in                  du nødt til at sætte <i>CONSOLEFONT</i> i
158                  <path>/etc/rc.conf</path> to a file found in                  <path>/etc/rc.conf</path> til en fil fundet i
159                  <path>/usr/share/consolefonts/</path> (without the                  <path>/usr/share/consolefonts/</path> (uden
160                  <c>.psfu.gz</c>).  <c>lat0-16</c> has the Euro symbol.                  <c>.psfu.gz</c>).  <c>lat0-16</c> har Euro symbolet.
161  <pre caption="setting the console font">  <pre caption="At sætte konsol fonten">
162   CONSOLEFONT="lat0-16"   CONSOLEFONT="lat0-16"
163  </pre>  </pre>
164                  </p>                  </p>
# Line 154  currency symbol (&#8364;)</note> Line 167  currency symbol (&#8364;)</note>
167  </chapter>  </chapter>
168    
169  <chapter>  <chapter>
170          <title>The Euro Symbol in X</title>          <title>Euro Symbolet i X</title>
171  <section>  <section>
172          <title>Most Applications</title>          <title>For de fleste applicationer</title>
173          <body>          <body>
174                  <p>Getting the Euro symbol to work properly in X is a little                  <p>At få Euro symbolet til at virke rigtigt i X er en
175                  bit tougher.  The first thing you should do is change the <i>                  smule mere svært. Det du skal gøre først er at ændre <i>
176                  fixed</i> and <i>variable</i> definitions in                  fixed</i> og <i>variable</i> definitionerne i
177                  <path>/usr/X11R6/lib/X11/fonts/misc/fonts.alias</path> to end                  <path>/usr/X11R6/lib/X11/fonts/misc/fonts.alias</path>
178                  in <i>iso8859-15</i> instead of <i>iso8859-1</i>.                  til at slutte med <i>iso8859-15</i> i stedet for <i>iso8859-1</i>.
179  <pre caption="setting default X fonts">  <pre caption="At sætte standard X fonte">
180   fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15   fixed        -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-15
181   variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15   variable     -*-helvetica-bold-r-normal-*-*-120-*-*-*-*-iso8859-15
182  </pre>  </pre>
183                  </p>                  </p>
184                  <p>Some applications use their own font, and you will have to                  <p>Nogle applicationer bruger deres egen font og du
185                  tell them separately to use a font with the Euro symbol.  You                  bliver nødt til at fortælle dem seperat om at bruge en
186                  can do this at a user-specific level in                  font med Euro symbolet. Du kan gøre dette på bruger
187                  <path>.Xdefaults</path> (you can copy this file to                  specifik niveau i <path>.Xdefaults</path> (du kan
188                  <path>/etc/skel/</path> for use by new users), or at a global                  kopiere denne fil to <path>/etc/skel/</path> til brug
189                  level for any application with a resource file in                  for nye brugere), eller til et globalt niveau for alle
190                  <path>/usr/X11R6/lib/X11/app-defaults/</path> (like xterm).  In                  applicationer med en ressource fil i
191                  these files you generally have to change an existing line,                  <path>/usr/X11R6/lib/X11/app-defaults/</path>
192                  rather than adding a new one.  To change our xterm font, for                  (f.eks. xterm). I disse filer skal man generelt ændre
193                  instance:                  en eksisterende linie, fremfor at tilføje en ny
194  <pre caption="setting fonts for xterm">                  en. For at ændre xterm fonten, f.eks:
195    
196    <pre caption="At sætte fonte for xterm">
197   <codenote>(in your home directory)</codenote>   <codenote>(in your home directory)</codenote>
198   $ <i>echo 'XTerm*font: fixed' >> .Xresources </i>   $ <i>echo 'XTerm*font: fixed' >> .Xresources </i>
199   $ <i>xrdb -merge .Xresources</i>   $ <i>xrdb -merge .Xresources</i>
# Line 188  currency symbol (&#8364;)</note> Line 203  currency symbol (&#8364;)</note>
203  </section>  </section>
204    
205  <section>  <section>
206          <title>The Euro symbol in (X)Emacs</title>          <title>Euro symbolet i (X)Emacs</title>
207          <body>          <body>
208                  <p>To use the Euro symbol in (X)Emacs, add the following to                  <p>For at bruge Euro symbolet i (X)Emacs skal du
209                  <path>.Xdefaults</path>:                  tilføje det følgende til<path>.Xdefaults</path>:
210  <pre caption="setting the font for emacs">  
211    <pre caption="At sætte fonten for emacs">
212   Emacs.default.attributeFont: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-15   Emacs.default.attributeFont: -*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-15
213  </pre>  </pre>
214                  </p><p>For XEmacs (not plain Emacs), you have to do a little                  </p><p>For XEmacs (ikke bare den almindelige Emacs),
215                  more.  In <path>/home/user/.xemacs/init.el</path>, add:                  skal du gøre lidt mere. Tilføj i <path>/home/user/.xemacs/init.el</path>:
216  <pre caption="setting the font for xemacs">  <pre caption="At sætte fonten for xemacs">
217   (define-key global-map '(EuroSign) '[&#8364;])   (define-key global-map '(EuroSign) '[&#8364;])
218  </pre>  </pre>
219                  <note>The symbol in the []s is the Euro symbol.</note>                  <note>Symbolet i []erne er Euro symbolet.</note>
220                  </p>                  </p>
221          </body>          </body>
222  </section>  </section>
223  <section>  <section>
224    <title>Language for OpenOffice</title>    <title>Sprog til OpenOffice</title>
225    <body>    <body>
226      <note>      <note>
227        Customized default language is not available for openoffice-bin ebuild. The      Skræddersyede standard sprog er ikke tilgængeligt for
228        default language in the openoffice-bin is ENUS.    openoffice-bin ebuilden. Standard sproget i openoffice-bin er ENUS.
229      </note>      </note>
230      <p>      <p>
231        The default language for OpenOffice is set as "ENUS"(01). If you wish to      Standard sproget for OpenOffice er sat til "ENUS"(01). Hvis du
232        change the default language for OpenOffice, check the ebuild for the      ønsker at ændre standard sproget for OpenOffice skal du tjekke
233        default language code.      ebuilden for standard sprog kode.
234      </p>      </p>
235  <pre caption="emerge openoffice with desired default language">  <pre caption="emerge openoffice med ønsket standard sprog">
236  # <i>LANGUAGE="01" emerge openoffice</i>  # <i>LANGUAGE="01" emerge openoffice</i>
237  <comment>01 is the ENUS language code for openoffice</comment>  <comment>01 er ENUS sprog koden for openoffice</comment>
238  </pre>  </pre>
239    </body>    </body>
240  </section>  </section>

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26