BEA WebLogic Server User Manual
Page 52

4
Using the BEA WebLogic Server Internationalization Utilities
4-2
Internationalization Guide
—Message catalog parser. Use this utility to generate classes
used for localizing text in log messages.
—Locale-specific message catalog parser. Use this utility to
process locale-specific catalogs.
—Utility that lists installed log messages. Use this utility to
generate a list of installed log messages.
Note: Text in the catalog definitions may contain formatting characters for
readability (for example, end of line characters), but these are not preserved by
the parsers. Text data is normalized into a one-line string. All leading and
trailing white space is removed. All embedded end of line characters are
replaced by spaces as required to preserve word separation. Tabs are left intact.
About the WebLogic Server
Internationalization and Localization
Interfaces
The
i18ngen
utility validates message catalogs, creating the necessary runtime classes
for producing localized messages. The
l10ngen
utility validates locale-specific
catalogs, creating additional properties files for the different locales defined by the
catalogs.
You can internationalize simple text-based utilities that you are running on WebLogic
Server by specifying that those utilities must use
Localizers
to access text data. You
instument the applications with
Logger
and
TextFormatter
classes generated from
the
i18ngen
utility. Refer to
for detailed information
about the
i18ngen
utility.
The generated
Logger
classes are used for logging purposes instead of the traditional
method of writing English text to a log. For example,
i18ngen
generates a class
xyzLogger
in the appropriate package for the catalog
xyz.xml
.