Message_catalog, Message, Message_catalog -11 message -11 – BEA WebLogic Server User Manual

Page 29

Advertising
background image

Message Catalog Formats

Internationalization Guide

2-11

message_catalog

The following table describes the attributes that you can define for the

message_catalog

element.

message

The following table describes the attributes that you can define for the

message

element.

Attribute

Default

Required/
Optional

Description

l10n_package

weblogic.i18n

Optional

Java package containing generated

TextFormatter

classes and

TextLocalizer

properties for this catalog. Classes are named after
the catalog file name.
For example, for a catalog called

mycat.xml

, a

properties file called

l10n_package.mycatTextLocalizer

properties is generated.

subsystem

None

Required

An acronym identifying the subsystem associated
with this catalog. The name of the subsystem is
included in the error log and is used for message
isolation purposes.

version

None

Required

Specifies the version of the

msgcat.dtd

being

used. The format is

n.n

, for example,

version=”1.0

”. Must be at least “1.0”

.

Attribute

Default

Required/
Optional

Description

messageid

None

Required

Unique identifier for this log message in
alpha-numeric string format. Uniqueness is required
only within the context of this catalog.

message

is

a child element of

message_catalog

.

datelastchanged

None

Optional

Date/time stamp useful for managing modifications
to this message.

Advertising