Open System Services Management and Operations Guide (G06.29+, H06.07+)
Managing With the Shell
Open System Services Management and Operations Guide—527191-005
9-6
Localizing Software
Table 9-2 on page 9-6 lists all the locales released as part of the OSS product set. An
additional locale, GB18030, is provided for use only within the vi_gb18030 and
print_gb18030 utilities; see the online reference pages vi_gb18030(1) and
print_gb18030(1) for more information. You can create a unique locale for your
server node by using the following tools from the command line of an OSS shell:
dspcat
dspmsg
gencat
genxlt
iconv
locale
mkcatdefs
runcat
Before using these tools, you must change the following entry in the EDIT file
$SYSTEM.SYSTEM.UNISTDH and the OSS text (header) file
/usr/include/unistd.h:
#undef _POSIX2_LOCALEDEF /* no support for the creation of locales */
to say:
#define _POSIX2_LOCALEDEF 1 /* New locales allowed */
This change might need to be made again after any software product revision or
release version update is installed.
For further information, see the sh(1), locale(1), and locale(4) reference pages
either online or in the Open System Services Shell and Utilities Reference Manual and
see the Software Internationalization Guide.
LC_MESSAGES The language for shell messages. The default value is C/POSIX.
LC_MONETARY The monetary format for your shell. The default value is C/POSIX.
LC_NUMERIC The numeric format for your shell. The default value is C/POSIX.
LC_TIME The time format for your shell. The default value is C/POSIX.
Table 9-2. Locale Names and Filenames (page 1 of 2)
Language of locale Filename for locale definition
Danish da_DK.ISO8859-1
Dutch, Netherlands nl_NL.ISO8859-1
Dutch (Belgian), Belgium nl_BE.ISO8859-1
English, Great Britain en_GB.ISO8859-1
English, USA en_US.ISO8859-1
Finnish fi_FI.ISO8859-1
Table 9-1. Localization Environment Variables (page 2 of 2)
Variable Meaning and default