[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]
AIX Version 4.3 System Management Guide: Operating System and Devices
Changing InfoExplorer Languages
Procedure
On a system with multiple languages
installed, each language information base has its own directory in the
/usr/lpp/info/lib directory. For example, the information base for
German is installed in the /usr/lpp/info/lib/de_DE directory, while
the information bases for U.S. English are installed in the
/usr/lpp/info/lib/en_US directory.
InfoExplorer determines what
languages to use for database content separately from the language to use for
messages (like menu bar entries or button titles). The language used for
messages is determined by the value of the LANG or the
LC_MESSAGES environment variable. If LC_MESSAGES is set,
that value is used; otherwise, the value of LANG is used to determine
which messages to use.
InfoExplorer uses several methods
for determining the language to use for database content. The precedence is
as follows:
- If the INFOLANG environment variable
is set, then InfoExplorer attempts to read databases from the
/usr/lpp/info/lib/<$INFOLANG> directory.
- If no libraries are found there or
INFOLANG environment variable is not set, then InfoExplorer
uses the INFOLOCALE environment variable. You can specify a list of
locales in the INFOLOCALE environment variable by separating each
locale with a colon. The first locale specified is the first language that
InfoExplorer attempts to read. InfoExplorer continues
trying to read databases based on the locales specified in the
INFOLOCALE environment variable until a match is found.
- If no libraries are found using the
INFOLOCALE environment variable, the environment variable
LC_MESSAGES is used.
- If no libraries are found using the
LC_MESSAGES, the LANG environment variable is used.
- If no libraries are found, then
InfoExplorer defaults to using the libraries installed in
/usr/lpp/info/lib/en_US.
[ Previous |
Next |
Contents |
Glossary |
Home |
Search ]