Application-specific message catalogs can be generated with the aid of the KDCMTXT and KDCMMOD tools (see "Messages in other languages - the KDCMTXT tool" and "Generating a user-specific message module with KDCMMOD"). KDCMTXT stores the message texts for each language and function unit in a source file FU_LN.msg
, where FU is the selected function unit and LN is the language identifier used in the FU statement.
The specific message catalogs (i.e. those modified by the operator of an application) must be stored for the SYS and XPROG function unit as follows:
Unix and Linux systems:
utmpath/nls/msg/
lang/utmsys.cat
and utmpath/nls/msg/
lang/utmxprog.cat
Windows systems:
utmpath\nls\msg\
lang\utmsys.dll
and utmpath\nls\msg\
lang\utmxprog.dll
Here lang is a language identifier, as in the case of the standard message catalogs.
For the position of the inserts, the message texts of the NLS source files contain "pseudo printf control strings" %
nn$
, such as %05$
, where the two-digit number nn is the number of the insert of the associated message in the message definition (general definition), in this case the fifth insert of the message.