BEA WebLogic Server User Manual

Page 17

Advertising
background image

Main Steps for Creating an Internationalized Message

Internationalization Guide

1-5

2. Run

i18ngen

to validate the catalog you created or edited in Step 1 and generate

runtime classes.

The generated classes contain a method for each message. The method is defined
according to information specified in the message catalog entry. The methods
include

Logger

or

TextFormatter

methods, depending on the type of catalog.

For details, see

“18ngen Utility” on page 4-4.

3. Create locale-specific catalogs as required for the message catalog you created in

Step 1.

4. Run

l10ngen

to process the locale-specific catalogs.

5. Instrument the application to use the

Logger

or

TextFormatter

methods you

generated in Step 2. When the application logs or returns a message, the message
is written using the localized version of the text according to the

Logger

or

TextFormatter

methods used.

These steps are described in detail in the following topics. For more detailed
information, including an overview of the logging subsystem and a description of log
message parts, see

“Using Log Messages to Manage WebLogic Servers”

in the

WebLogic Server Administration Guide.

Advertising