Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| en:scratchbook:locale [2011/04/21 21:01] – typo edit domcox | en:scratchbook:locale [2011/04/23 21:06] (current) – tiny edit domcox | ||
|---|---|---|---|
| Line 59: | Line 59: | ||
| Use of " | Use of " | ||
| - | /# localedef -i fr_CH -f ISO-8859-1 fr_CH | + | # localedef -i fr_CH -f ISO-8859-1 fr_CH |
| - | /# localedef -i fr_FR -f ISO-8859-1 fr_FR | + | # localedef -i fr_FR -f ISO-8859-1 fr_FR |
| - | /# exit | + | # exit |
| You can delete the " | You can delete the " | ||
| Line 70: | Line 70: | ||
| To use a language in a session, you can create a script launched at boot, or add 2 lines to the ~/.profile specific to each user with: | To use a language in a session, you can create a script launched at boot, or add 2 lines to the ~/.profile specific to each user with: | ||
| + | < | ||
| export LANG=fr_CH | export LANG=fr_CH | ||
| export LC_ALL=fr_CH | export LC_ALL=fr_CH | ||
| + | </ | ||
| Voilà, the French language should now function If you installed retawq or nano, you can check the performance of locales by copying the .mo files in the sources of Retawq or Nano to / | Voilà, the French language should now function If you installed retawq or nano, you can check the performance of locales by copying the .mo files in the sources of Retawq or Nano to / | ||