Localizing an Open Server application

An Open Server application’s localization determines:

.

An Open Server application can use initial localization values, custom localization values, or both.

A typical internationalized Open Server application uses the initial localization values determined by the LC_ALL and LANG environment variables, or by the “default” entry in the locales file, to localize.

Initial localization values are determined at runtime, when the Open Server application calls the CS-Library routine cs_ctx_alloc to allocate a CS_CONTEXT structure. When an application makes this call, CS-Library loads initial localization information into the new context structure.

If the initial localization values do not meet an application’s needs, the application can use a CS_LOCALE structure to set custom localization values in its context structure. See “Using a CS_LOCALE structure to set custom localization values” for more information.