Difference between revisions of "Funtoo Linux Localization"

From Funtoo Linux
Jump to: navigation, search
(5 intermediate revisions by 4 users not shown)
Line 18: 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>
  
Line 27: Line 27:
 
nano -w /etc/conf.d/keymaps
 
nano -w /etc/conf.d/keymaps
 
</pre>
 
</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