Solaris Internationalization Guide For Developers

Locales

Most single-display clients operate in a single locale. This is set with the environment variable, usually $LANG or a set of LC_ environment variables including $LC_CTYPE.

The LC_CTYPE category of the locale is used by the environment to identify the locale-specific features used at runtime. The fonts and input methods are determined by the LC_CTYPE category.

Xtprograms that are enabled for internationalization are expected to call the XtSetLanguageProc() function (which calls setlocale() by default) to set the locale.