Locale Categories
A locale category is the specification of one
of the elements that make up the cultural environment, or locale,
in which a program runs.
VisualAge C++ supports the following locale
categories:
- LC_CTYPE defines character attributes
- LC_COLLATE establishes relative order of character
collating elements
- LC_MONETARY defines the rules and symbols to format
monetary quantities
- LC_NUMERIC defines the rules and symbols to format
non-monetary numeric data
- LC_TIME specifies how to format and parse date and time
data
- LC_MESSAGES establishes the format and values of positive
and negative responses
- LC_TOD controls the start and end of daylight savings
time and the time zone
Note: The LC_TOD locale category is an IBM extension.
- LC_SYNTAX defines variant characters from the portable
character set
Note: The LC_SYNTAX locale category is an IBM extension.
VisualAge C++'s support of internationalization
is based on the IEEE POSIX P1003.2 and X/Open Portability
Guide standards for global locales and coded character set
conversion, with the following exceptions:
- The grouping arguments in the LC_NUMERIC
and LC_MONETARY locale categories must be strings, not
sets of integers.
- The use of the ellipsis (...) in the
LC_COLLATE locale category is limited.
The ANSI standard C++ Localization library
supports the following standard locale categories:
- ctype
- collate
- monetary
- numeric
- time
- messages
Programming support for locales is also
provided through the C Run-Time Library.

Internationalization
Localization
and Locales

Make Your
Program International
Customize a
Locale

Locale Source Files
LC Environment
Variables