When an application needs to use a CS_LOCALE structure

WARNING! Platform-specific mechanisms for determining a default locale are discussed in the localization chapter of the Open Client and Open Server Configuration Guide for your platform. Client-Library’s localization mechanism is platform-specific, and you must read that chapter to understand how the default locale is determined on your platform.

Typically, an application’s default locale reflects the language or character set of the local environment. The default locale is determined by the value of the CS_LOC_PROP CS-Library context property. A typical application uses a CS_LOCALE structure only if it is working in a language or character set that is different from the context structure’s locale.

For example: