Difference between revisions of "Funtoo Linux Localization"

From Funtoo Linux
Jump to: navigation, search
(Created page with " <tt>/etc/locale.gen</tt> and <tt>/etc/env.d/02locale</tt> are used to support your local language. The following are examples for French Canadian. You can look in '''/usr/share/...")
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
 
<tt>/etc/locale.gen</tt> and <tt>/etc/env.d/02locale</tt> are used to support your local language. The following are examples for French Canadian. You can look in '''/usr/share/i18n/SUPPORTED''' for the default list of supported combinations or look in '''/usr/share/i18n/locales''' to determine values to use.
 
<tt>/etc/locale.gen</tt> and <tt>/etc/env.d/02locale</tt> are used to support your local language. The following are examples for French Canadian. You can look in '''/usr/share/i18n/SUPPORTED''' for the default list of supported combinations or look in '''/usr/share/i18n/locales''' to determine values to use.
  
Line 19: Line 18:
 
After editing the files, generate a localized environment:
 
After editing the files, generate a localized environment:
 
<pre>
 
<pre>
# locale-gen && source /etc/profile
+
# locale-gen && env-update && source /etc/profile
 
</pre>
 
</pre>
 +
 +
==== /etc/conf.d/keymaps ====
 +
 +
Funtoo Linux defaults to a US English keyboard. If you are using another type of keyboard, edit <tt>/etc/conf.d/keymaps</tt> and set keymap to your keyboard model. For example, cf for French Canadian keyboard, fr for French Azerty.
 +
<pre>
 +
nano -w /etc/conf.d/keymaps
 +
</pre>
 +
 +
[[Category:Install|Localization]]

Revision as of 08:50, 18 November 2012

/etc/locale.gen and /etc/env.d/02locale are used to support your local language. The following are examples for French Canadian. You can look in /usr/share/i18n/SUPPORTED for the default list of supported combinations or look in /usr/share/i18n/locales to determine values to use.

# nano -w /etc/locale.gen

Copy this value to your file (French Canadian)

fr_CA.UTF-8 UTF-8
# nano -w /etc/env.d/02locale

Copy this to your file (French Canadian)

LANG="fr_CA.UTF-8"
LANGUAGE="fr_CA.UTF-8"

After editing the files, generate a localized environment:

# locale-gen && env-update && source /etc/profile

/etc/conf.d/keymaps

Funtoo Linux defaults to a US English keyboard. If you are using another type of keyboard, edit /etc/conf.d/keymaps and set keymap to your keyboard model. For example, cf for French Canadian keyboard, fr for French Azerty.

nano -w /etc/conf.d/keymaps
Personal tools
Namespaces

Variants
Actions
Categories
Toolbox
Stuff