What Does XPG4 I18N Do for You?

┌──────────────────────────────────────────────────────────────────────┐
│XPG4 provides facilities to generate an internationalized application │
│and localized objects.                                                │
└──────────────────────────────────────────────────────────────────────┘

The major facilities of XPG4 Internationalization are listed below:

By using these XPG4 facilities, an application can be written in a language and code page independent manner. As a result, a single executable module of an application runs equally well on OS/2 in any country configuration though there are currently several national language versions of OS/2. This eliminates the need for national language versions, thus reduces the development, manufacturing and distribution costs.

┌──────────────────────────────────────────────────────────────────────┐│The selection of Localization features is user-definable through      │
│environment variables.                                                │
└──────────────────────────────────────────────────────────────────────┘
This mechanism permits the dynamic binding of the locale files. The language and cultural convention to be referred to by an application is determined by the end user, not by a system or the application.

Let's think about the current OS/2 application. Due to the system design, most of the information on cultural convention is set to a work station, not to an application. However, by using XPG4 Internationalization facilities, the application can use the different cultural convention even on the same work station by setting the environment variables.

Please refer to In the Beginning of All - setlocale for the description of the environment variables.

┌──────────────────────────────────────────────────────────────────────┐
│Supporting new environment, encoding scheme, language or culture can  │
│easily be achieved by adding a new locale.                            │
└──────────────────────────────────────────────────────────────────────┘

In AP, there are many countries whose national languages need to be supported. By using XPG4 Internationalization facility, an application can automatically support a new environment when a new locale is provided.

For more detailed information on the concept of the Internationalization, refer to X/Open Internationalization Guide Version 2 issued by X/Open.


[Back: What is XPG4 Internationalization?]
[Next: What is the IBM DBCS OS/2?]