UTF-8: Difference between revisions

From Q
Jump to navigation Jump to search
Tgurr (talk | contribs)
No edit summary
Tgurr (talk | contribs)
No edit summary
Line 1: Line 1:
Zuerst die Sprachvariablen in der /etc/make.conf eintragen, damit bei Programme wie z.B. KDE, Firefox oder OpenOffice das deutsche Sprachpaket mitinstalliert wird:
First set the language variables in your /etc/make.conf, so that programms like KDE, Firefox or OpenOffice.org also install their language packs:
{{Box File|/etc/make.conf|
{{Box File|/etc/make.conf|
<pre>
<pre>
Line 7: Line 7:
}}
}}


Um das System nun für Unicode zu konfigurieren sind weitere Schritte notwendig. Zuerst muss in der /etc/rc.conf Unicode aktiviert werden:
This is the default installed by OpenRC, but ensure it's set:
{{Box File|/etc/rc.conf|
{{Box File|/etc/rc.conf|
<pre>
<pre>
Line 14: Line 14:
}}
}}


Nun muss der Unicode Zeichensatz erstellt werden, dafür sorgt ein Eintrag in der /etc/locale.gen Datei, die von der Glibc installiert wird:
Now edit /etc/locale.gen so that your glibc generates the right locale:
{{Box File|/etc/locale.gen|
{{Box File|/etc/locale.gen|
<pre>
<pre>
Line 21: Line 21:
}}
}}


und ein anschließendes {{Codeline|# locale-gen}}.
and run {{Codeline|# locale-gen}} afterwards.


Um die Systemvariablen auf Unicode umzustellen muss nun die Datei /etc/env.d/02locale bearbeitet, oder falls nicht vorhanden, erstellt werden:
Then we need to create a new file to set some system-wide environment variables:
{{Box File|/etc/env.d/02locale|
{{Box File|/etc/env.d/02locale|
<pre>
<pre>
Line 31: Line 31:
}}
}}


und mit {{Codeline|# env-update}} aktivieren.
and activate it via {{Codeline|# env-update}}.


Jetzt sollte noch das Tastaturlayout eingestellt werden:
Now change your keyboard layout:
{{Box File|/etc/conf.d/keymaps|
{{Box File|/etc/conf.d/keymaps|
<pre>
<pre>
Line 40: Line 40:
}}
}}


Und zuletzt die Konsolenschriftart:
And last but not least your console font:
{{Box File|/etc/conf.d/consolefont|
{{Box File|/etc/conf.d/consolefont|
<pre>
<pre>

Revision as of 23:58, 26 April 2008

First set the language variables in your /etc/make.conf, so that programms like KDE, Firefox or OpenOffice.org also install their language packs: Template:Box File

This is the default installed by OpenRC, but ensure it's set: Template:Box File

Now edit /etc/locale.gen so that your glibc generates the right locale: Template:Box File

and run # locale-gen afterwards.

Then we need to create a new file to set some system-wide environment variables: Template:Box File

and activate it via # env-update.

Now change your keyboard layout: Template:Box File

And last but not least your console font: Template:Box File