Locale source and object files
Each locale file has two forms.
Each locale file has the following two forms:
- A locale source file is an ASCII file that defines
the locale categories for the locale.
This file has the .lc file extension and serves as documentation for the corresponding object file.
- A locale object file is a compiled form of the locale
information.
HCL OneDB™ products use the object file to obtain locale information quickly. Locale object files have the .lco file extension.
The header of the locale source file
(.lc) lists the language, territory, code set,
and any optional locale modifier of the locale. A section of the locale
source file supports each of the locale categories, unless that category
is empty, as the next table shows.
Locale category | Reference | Locale category | Reference | |
---|---|---|---|---|
CTYPE | The CTYPE category | MONETARY | The MONETARY category | |
COLLATION | The COLLATION category | TIME | The TIME category | |
NUMERIC | The NUMERIC category | MESSAGES | The MESSAGES category |