HP 9000 User Manual page 43

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

International ized Messages
A command that has been internationalized for messages will have, in the
HP-UX Reference
section "EXTERNAL INFLUENCES, Environment
3
Variables," a comment such as "LANG determines the language in which
messages are displayed." Such a command, however, will not necessarily have
message catalogs installed on the system for all languages or even for any
language other than for a default locale.
When such a command is run, current locale messages will be displayed if
they are available. Otherwise, default locale messages will be displayed. The
command will, however, perform correctly for the current locale.
For example,
sort
will correctly sort data in all supported locales. Messages
issued by
sort
will be in the
C
locale (the default locale for HP- UX commands)
unless localized message catalogs have been provided and installed on the
system.
See Chapter 5 for more information on localizing message catalogs.
Using Internationalized Commands
To see what locales are installed on your system run
nlsinfo.
Then set
LANG
to one of the installed locales and run
date.
You should get a result with the format and naming conventions of the locale
specified by
LANG.
To test this further, try:
cat file
where
file
is non-existent. If there is a localized message catalog for
cat
you
should get the
cannot open
message in the locale specified by
LANG.
If not, you
will get the message in the
C
locale.
If you do not get the expected results, check with your system administrator
to verify that the required language-specific files are properly installed on the
system. Otherwise, you should now be able to use internationalized commands
without further special action.
3-6
Using International Software

Advertisement

Table of Contents
loading

Table of Contents