Unicode Support in the Solaris Operating Environment

1.3 Internationalization Framework

A properly internationalized application separates language- and cultural-specific information from the application code. The Solaris operating environment internationalization framework achieves this with:

A locale is the language and cultural data set by the user and dynamically loaded into memory at run time. The locale settings are applied to the operating system and to subsequent application launches.

The Solaris operating environment includes APIs for developers to directly access language and cultural data in the current locale. Applications can run in any locale without prior input of language or cultural data. For example, an application does not need to encode a particular currency symbol. By calling the appropriate system API, the current locale currency symbol is returned.

A localizable interface considers variations in an interface translated into another language. The Solaris operating environment provides messaging APIs and utilities to collect, generate, and process messages.

In an application, codeset independence does not assume a particular codeset. For example, text-handling routines should not define in advance the size of the character codeset.

For more information about designing applications with Unicode, see Chapter 3, Technical Considerations. For more information about the internationalization framework, see the whitepaper Asian Language Support in the Solaris Operating Environment.