Справочник Пользователя для BEA WebLogic Server

Скачать
Страница из 88
2
Using Message Catalogs with BEA WebLogic Server
2-14
Internationalization Guide
Elements of a Locale-Specific Catalog
The locale-specific catalogs are subsets of top-level catalogs. They are maintained in 
subdirectories named for the locales they represent. The elements and attributes 
described in the following sections are valid for locale-specific catalogs.
locale_message_catalog
The following table describes the attributes that you can define for the 
locale_message_catalog
 element.
log_message
The locale-specific catalog uses the attributes defined for the 
log_message
 element in  
the log message catalog so this element does not need to be defined.
Other locale_message_catalog Elements
The locale-specific catalog uses the 
messagebody
messagedetail
cause
, and 
action
 catalog elements defined for  the log message catalog so these elements do not 
need to be defined.
Attribute
Default
Required/
Optional
Description
l10n_package
weblogic.i18n
Optional
Java package containing generated 
LogLocalizer
 or 
TextLocalizer
 properties 
for this catalog. properties are named after the 
catalog file name. 
For example, for a French log message catalog 
called 
mycat.xml
, a properties file called 
l10n_package.mycatLogLocalizer_fr_
FR.properties
 properties is generated. 
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”
.