Message_catalog, Message_catalog -6 – BEA WebLogic Server User Manual

Page 24

Advertising
background image

2

Using Message Catalogs with BEA WebLogic Server

2-6

Internationalization Guide

„

log_message

„

Other log_message Catalog Elements

message_catalog

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

message_catalog

element.

Attribute

Default

Required/
Optional

Description

i18n_package

weblogic.i18n

Optional

Java package containing generated Logger classes
for this catalog. The classes are named after the
catalog file name. For example, for a catalog using

mycat.xml

, a generated logger class called

i18n_package.mycatLogger.class

.

l10n_package

weblogic.i18n

Optional

Java package containing generated

LogLocalizer

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.mycatLogLocalizer.
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”

.

baseid

000000

for

WebLogic Server
catalogs

500000

for

user-defined
catalogs

Optional

Specifies the lowest message ID used in this
catalog. The syntax is one to six decimal units.

Advertising