Customize a Locale
If you require a cultural environment that is
not identical to any locale supplied with IBM C and C++
Compilers, you can create your own locale. The easiest way to
create a locale is to modify one of the existing locale
definition files supplied by IBM.
Use the steps listed below to customize and
build an existing locale:
- Use an existing charmap file to define the characters supported by your
locale.
- Determine what locale
categories you require and
define those categories so that they build the required
cultural environment.
- Create a locale source file that contains one category source definition
for each category in your locale. You can use any editor
to create this file.
- Run the LOCALDEF utility. This utility
produces a dynamic link library with the extension .LCL
that implements your locale.
- If you are shipping a locale object with
your application, you must also supply Windows locale
DLLs with your program.
Example: Customize a locale.

Internationalization

Supply
DLLs for Locale Handling

Locale Naming Conventions
Locales
Provided on OS/2
Locales Provided on Windows
LOCALDEF
Utility