LOCALE(1) | General Commands Manual | LOCALE(1) |
locale
— display
locale settings
locale |
[-a|m ] |
locale |
[-ck ] name [...] |
locale
displays information about the
current locale, or a list of all available locales.
When locale
is run with no arguments, it
will display the current source of each locale category.
When locale
is given the name of a
category, it acts as if it had been given each keyword in that category. For
each keyword it is given, the current value is displayed.
-a
-c
name ...-k
name ...-m
The following operand is supported:
name is the name of a keyword or category to display. A list of all keywords and categories can be shown with the following command:
locale -ck LC_ALL
LANG
LC_*
variable.
If LANG
is unset, it will act as if set to
"C". If any of LANG
or
LC_*
are set to invalid values,
locale
acts as if they are all unset.LC_ALL
LC_*
variables.LC_COLLATE
LC_CTYPE
LC_MESSAGES
LC_MONETARY
LC_NUMERIC
LC_TIME
The locale
utility conforms to IEEE Std
1003.1-2001 (``POSIX.1'').
locale
appeared in Mac OS X 10.4
August 27, 2004 | Darwin |