Você pode encontrar informações úteis sobre isso em wiki do Debian - Local
Manualmente :
edite o arquivo /etc/locale.gen e adicione suas configurações de localidade (um conjunto por linha), por exemplo:
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
de_DE@euro ISO-8859-15
The supported locales are listed in /usr/share/i18n/SUPPORTED.
Run the command locale-gen
Run the command locale -a to verify the list of available locales; note >that the spellings change.
If you've upgraded to Lenny and you have leftover LANG=... content in >/etc/environment, you should comment it out.
- To use the new settings with your programs, log out and back in.
As seguintes variáveis de ambiente afetam o comportamento relacionado ao local do sistema:
- LANG Determines the default locale in the absence of other locale related environment variables
- LANGUAGE
- LC_ADDRESS Convention used for formatting of street or postal addresses
- LC_ALL High precedence override for locale specific behaviour (overrides all other locale variables)
- LC_COLLATE Collation order
- LC_CTYPE Character classification and case conversion
- LC_MONETARY Monetary formatting
- LC_MEASUREMENT Default measurement system used within the region
- LC_MESSAGES Format of interactive words and responses
- LC_NUMERIC Numeric formatting
- LC_PAPER Default paper size for region
- LC_RESPONSE Determines how responses (such as Yes and No) appear in the local language
- LC_TELEPHONE Conventions used for representation of telephone numbers
- LC_TIME Date and time formats