Configuring HP-UX for Different Languages, March 2001

How to Configure Your System Language
Managing the LANG Environment Variable
Chapter 110
Managing the LANG Environment Variable
To configure localized HP-UX sessions, you will need to:
Manage the LANG environment variable.
Access language-dependent message catalogs and resource files.
Execute applications remotely across internationalized systems.
You can set the LANG variable to any locale that is supported by the
HP-UX operating system, and installed on your system.
There are three ways to set the LANG environment variable, depending on
how you want the locale to operate:
1. Customize the /etc/dt/config/Xconfig file. This method is used
to set the locale system-wide, for all users and all sessions.
2. Customize the .dtprofile file. This method is used for a specific
user who might need a different locale profile.
3. Choose a locale from the
Options menu from the CDE login screen
which changes the locale for that session.
When LANG is set, HP-UX also uses the following locale-dependent files
to determine the localized interface for colors and backdrops:
•/usr/dt/palettes/desc.locale
/usr/dt/backdrops/desc.locale