This page indicates how to install / use Debian in your local language.

Configuration

Standard

Get root and type dpkg-reconfigure locales and select the locale(s) you want to generate. At the end, you'll be asked which one should be the default. If you have users who access the system through ssh, it is recommended that you choose None as your default locale.

This changes /etc/default/locale and /etc/locale.gen (in older versions of Debian, also /etc/environment). If you chose a default locale other than None above, it will be in /etc/default/locale and will override the LANG variable supplied by ssh. This is highly inconvenient.

If you've upgraded to Lenny from an older version of Debian and have leftover LANG=... content in /etc/environment, you should comment it out (type editor /etc/environment and put a # character in front of the line, and then save it).

Now, optionally, edit /etc/profile as follows:

To use the new locale settings, log out and back in. Already-running programs will not be affected.

TODO: how to configure things properly for xdm/gdm/etc. users.

TODO: ?SendEnv in ~/.ssh/config, personal locale settings in .bash_profile or similar.

Manually

You can see the supported locales by typing less /usr/share/i18n/SUPPORTED or in ?LocaleSupported .

TODO: how to configure things properly for xdm/gdm/etc. users.

TODO: ?SendEnv in ~/.ssh/config, personal locale settings in .bash_profile or similar.

Keyboard

Console

dpkg-reconfigure console-common

It over-writes the /etc/console/boottime.kmap.gz file.

XWindow

This section is way out of date. Package and file names have all changed.

dpkg-reconfigure xserver-xfree86

It changes /etc/X11/?XF86Config-4 , Section "?InputDevice"

Zones, languages and countries

See Also


CategorySystemAdministration