hit counter script

HP 9000 User Manual page 52

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

The C Locale Messages
To determine what HP-UX commands have message catalogs, run:
Is /usr/lib/nls/C/
*.cat
For each HP- UX command that has message catalog support, there will be a
file /usr/lib/nls/C/ command. cat listed.
To localize a message catalog, you need to first get a readable version of the
"C" locale messages. This is done with the dumpmsg command. For example,
to get a message text source file of the "C" locale messages for date, run:
dumpmsg /usr/lib/nls/C/date.cat >date.msg
The file date .msg is a copy of the messages and is ready for translation to a
native language.
Translating Messages
First you must set the
LANG
environmental variable to the locale you will be
translating in. You are now ready to translate the messages to the target
language:
vi date.msg
Note that date .msg is a message text source file in a format suitable for input
to gencat. You must preserve the format and you must leave the message
numbers and the set numbers unchanged.
If the message translated is longer than 80 bytes, don't start a new line or just
hit carriage return. Instead you can either:
• continue typing allowing the word to "wrap-around" to the new line, or
• type a \ (backslash) before the carriage return and continue typing at the
first column of the next line.
If you want to put a carriage return in the message when it is output to the
user, type \n. When the message is output to the user, the text following the
\n will begin on a new line.
Localizing International Software
5·3
5

Advertisement

Table of Contents
loading

Table of Contents