![]() |
s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
5. Locale support in libc 5.4.x and higherThe locale support has been updated in If you use a system without locale support, you can add such support using the following method:
To enable support for the Danish locale on a system with locale support you just have to set one of the following environment variables: LANG=da_DKor LC_ALL=da_DK Try Both environment variables set all the individual locale catgories. You can also set a single locale category by using the name of the category as an environment variable. The locale catogories are:
Locale category Application
--------------- -----------
LC_COLLATE Collation of strings (sort order.)
LC_CTYPE Classification and conversion of characters.
LC_MESSAGES Translations of yes and no.
LC_MONETARY Format of monetary values.
LC_NUMERIC Format of non-monetary numeric values.
LC_TIME Date and time formats.
LC_ALL Sets all of the above (overrides all of them.)
LANG Sets all the categories, but can be overridden
by the individual locale categories.
In Red Hat Linux 5.2 you can set the environment variables LANG and/or
LC_ALL in the file LC_ALL=da_DK A few programs such as Locale support should be more common as distributions based on the new
localedef -c -i da_DK -f ISO-8859-1 da_DK As of
Next Previous Contents |