UTF-8: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
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: | ||
}} | }} | ||
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: | ||
}} | }} | ||
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: | ||
}} | }} | ||
and run {{Codeline|# locale-gen}} afterwards. | |||
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: | ||
}} | }} | ||
and activate it via {{Codeline|# env-update}}. | |||
Now change your keyboard layout: | |||
{{Box File|/etc/conf.d/keymaps| | {{Box File|/etc/conf.d/keymaps| | ||
<pre> | <pre> | ||
| Line 40: | Line 40: | ||
}} | }} | ||
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