Home | Previous Page | Next Page   General SQL API Features (ESQL/C) > Internationalizing Client Applications >

Localization

Localization is the process of adapting a product to a specific cultural environment. This process usually involves the following tasks:

Localization might also include the translation and production of end-user documentation, packaging, and collateral materials.

To localize a database application, you create a database application for a specific language, territory, and code set. Localization involves the following tasks:

Important:
An internationalized application is much easier localize than a non-internationalized application.

Choosing a GLS Locale

To localize your application, choose a locale that provides the culture-specific information for the language, territory, and code set that the application is to support. For information about locales, see Setting a GLS Locale.

An internationalized application makes no assumptions about how these locales are set at runtime. Once the application environment specifies the locales to use, the application can access the appropriate GLS locale files for locale-specific information. As long as a GLS locale is provided that supports a particular language, territory, and code set, the application can obtain the locale-specific information dynamically.

The current processing locale (sometimes called just the current locale) is the locale that is currently in effect for an application. It is based on one of the following environments:

Database API

The current processing locale for DataBlade client applications is the client locale. The current processing locale for DataBlade UDRs is the server-processing locale, which the database server determines from the client, database, and server locales.

End of Database API

Translating Messages

An internationalized application should not have any language-specific text within the application code. This language-specific text includes the following kinds of strings:

Tip:
You do not need to put SQL keywords (such as SELECT, WHERE, INSERT, and CREATE) in a message file. In addition, language keywords (such as if, switch, for, and char) do not need to appear in a message file.

In an internationalized application, these strings appear as references to external files, called resource files or message files. To localize these strings of the database application, you must perform the following tasks:

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]