A locale is a set of language and cultural rules like alphabet order,
12/24 hour clock selection or the date and time formats. It is defined by environment variables.
Most often the LC_ALL
variable controls everything.
If the LC_ALL
is not set, the locale is controlled by a set
of variables for specific locale categories, e.g.:
LC_CTYPE | Character classification and case conversion |
LC_COLLATE | Collation order |
LC_TIME | Date and time formats |
LC_NUMERIC | Non-monetary numeric formats |
LC_MESSAGES | Formats of messages |
LANG | Default value for unset variables |