Open System Services Shell and Utilities Reference Manual (G06.27+, H06.04+)

User Commands (k - l) locale(1)
NAME
locale - Writes information about locales
SYNOPSIS
locale
[-a | -m]
locale
[-c][-k]
name ...
FLAGS
-a Writes information about all available public locales
-c Writes the names of the specied locale categories
-k Writes the names and values of specied locale keywords
-m Writes the names of all available character map les
Operands
name Species a locale category or locale keyword
DESCRIPTION
With no ags or arguments, the locale utility writes to the standard output le the name and
values of all the current locale environment variables, such as LANG and LC_COLLATE.
With the -a or -m ags, the locale utility displays information about available locales and charac-
ter maps on your system.
If the -a ag is specied, the locale utility writes the name of all available public locales.
These are locales available to any application.
If the -m ag is specied, the locale utility writes a list of the names of all available
character-mapping les.
The locale utility with the name argument displays information about locale categories and key-
words in the current locale. For example, it could display information about the decimal_point
keyword in the LC_NUMERIC category or information about all keywords in the
LC_NUMERIC category. The name argument can either be a locale category or a keyword from
a category.
527188-004 Hewlett-Packard Company 563