Installation guide

into other languages. The message catalog system consists of message
extraction tools, tools for translating messages, a tool for generating
message catalogs, and routines for accessing message catalogs.
6.10.1.1 Message Extraction Tools (extract, strextract, and strmerge)
Like the ULTRIX system, the DIGITAL UNIX system provides the
extract, strextract, and strmerge commands that extract message
text from your program and store it in a message text source file. In most
ways, these commands are the same as their ULTRIX equivalent. This
section describes the two ways the commands differ between the DIGITAL
UNIX and ULTRIX systems.
The output file name for the strextract command, and therefore the
input file name for the strmerge command, is different. On DIGITAL
UNIX systems the intermediate file that strextract creates is named
filename
.str. On ULTRIX systems, this file is named
filename
.msg.
The other difference is the name of the internationalization directory. On
DIGITAL UNIX systems, related internationalization files are stored in the
/usr/lib/nls directory. On ULTRIX systems, these files are stored in the
/usr/lib/intln directory. This change affects the following:
The location of the systemwide patterns file, which on DIGITAL UNIX
systems is /usr/lib/nls/patterns.
The location of the help file for the extract command, which on
DIGITAL UNIX systems is /usr/lib/nls/help.
The search path for user-specified patterns and ignore files. On
DIGITAL UNIX systems, the extract, strextract, and strmerge
commands search for patterns and ignore files in the current directory,
your home directory, and then /usr/lib/nls.
6.10.1.2 Tool for Translating Messages (trans)
You can use the DIGITAL UNIX trans command to help you translate
message text source files from one native language to another. This
command is the same as the ULTRIX trans command.
6.10.1.3 Tools for Creating a Message Catalog (mkcatdefs and gencat)
The DIGITAL UNIX system provides the mkcatdefs and gencat
commands, which work together to generate a formatted message catalog.
Some system limits that affect the gencat command have increased on
DIGITAL UNIX systems. See Table B–1 for complete information. Other
than the difference in the system limits, the DIGITAL UNIX gencat
6–20 Overview of the DIGITAL UNIX Programming Environment