Header Keywords - HP 9000 User Manual

Computers
Hide thumbs Also See for 9000:
Table of Contents

Advertisement

5
• Categories can be listed in any order in a
localedef
script .
• All category specifications are optional. If a category is not specified, "C"
locale is set up as the default for that category.
localedef Syntax
Table 5-1 outlined the basic structure of a
localedef
script. In addition to the
category, the syntax of your
localedef
script provides for the specification of
subcategories within each category. Introduce these subcategories through a
pre-defined keyword followed by one or more expressions that specify applicable
characteristics of the language. (These subcategories are described in later
sections).
localedef
also recognizes three keywords that do not belong to any
category. These keywords form a header for the language definition script,
uniquely identifying the language:
Table 5·2. Header Keywords
keyword
Function
langname
String identifying the name of the language. This keyword is
required by
localedef
if the command line invoking
localedef
does not contain the locale_name. (See localedef(lM).)
langid
Decimal number identifying the language ID. This keyword is
required by
localedef
if the command line invoking
localedef
does not contain the locale_name (see localedef(lM)). The
language ID specified should be in the range of 1 to 999, and
any user-defined language should assign its language ID in the
range of 901 to 999.
revision
String identifying the revision number of the
locale. inf
file.
The string is restricted to contain at most 6 characters, all
digits and one optional decimal point (.) character.
5·8
Localizing International Software

Advertisement

Table of Contents
loading

Table of Contents