### LOCALDEF Utility

A locale is the definition of the subset of the user's environment that depends on language and cultural conventions. The locale object contains the rules and pointers to methods to implement the language and cultural conventions. A locale object is made up of a number of categories, identified by name, that control specific aspects of the behavior of components of the system.

The locale object is generated by the LOCALDEF utility according to the rules defined in the locale definition file. The locale object is implemented as a dynamic link library (DLL), but with the extension .LCL instead of .DLL. The locale can be loaded using the setlocale() function. Each .LCL file contains only one locale.

The LOCALDEF utility reads the locale source and produces a locale object that can be used by the locale-specific library functions.

On OS/2, the LOCALDEF utility is shipped with operating system. The details pertaining to its use may differ slightly from those provided here. For details, please refer to the documentation provided with the operating system.

LOCALDEF Syntax
LOCALDEF Return Codes
LOCALDEF Messages
Portable Character Set