9.7.4 Activating locale support
Debian does not come with all available locales pre-compiled.
Check /usr/lib/locale to see which locales (besides the default
"C") are compiled for your system. If the one you need is not
present, you have two options:
-
Edit /etc/locale.gen to add the desired locale, then run
locale-gen as root to compile it. See locale-gen(8)
and the manpages listed in its "SEE ALSO" section.
-
Run dpkg-reconfigure locales to reconfigure the
locales package. Or if it is not already installed, installing
locales will invoke the debconf interface to let you choose needed
locales and compile the database.