MyWebUniversity.com Home Page
 



Darwin Mac OS X man pages main menu
LOCALE(1)                 BSD General Commands Manual                LOCALE(1)

NAME
     locale -- display locale settings

SYNOPSIS
     locale [-am]
     locale [-ck] name [...]

DESCRIPTION
     locale displays information about the current locale, or a list of all
     avilable 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.

OPTIONS
     -a       Lists all public locales.

     -c       Lists the category name before each keyword, unless it is the
              same category as the previously displayed keyword.

     -k       Displays the name of each keyword prior to it's value.

     -m       Lists all avilable public charmaps.  This is currently an empty
              list.

ENVIRONMENT
     LANG         Used as a substitute for any unset LC* variable.  If LANG
                  is unset it will act as if set to "C".  If any of LANG or
                  LC* are set to invalide values locale acts as if they are
                  all unset.

     LCAL       Will overide the setting of all other LC* variables.

     LCOLATE   Sets the locale for the LCOLATE category.

     LCTYPE     Sets the locale for the LCTYPE category.

     LCMESAGES  Sets the locale for the LCMESAGES category.

     LCMONETARY  Sets the locale for the LCMONETARY category.

     LCNUMERIC   Sets the locale for the LCNUMERIC category.

     LCTIME      Sets the locale for the LCTIME category.

SEE ALSO
     localedef(1), setlocale(3), localeconv(3), nllanginfo(3),

STANDARDS
     The locale utility conforms to IE Std 1003.1-2001 (``POSIX.1'').

HISTORY
     locale appeared in Mac OS X 10.4

Darwin                          August 27, 2004                         Darwin
Darwin Mac OS X man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™