|
Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
||||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
---|---|
Localizer | Localizer is a class used to look up the various elements of a message definition. |
This package provides runtime internationalization support for Weblogic Server.
WebLogic Server Internationalization (i18n) covers the internationalization of messages written to the WebLogic Server log.
Localization (l10n) of i18n text is supported through the Localizer interface. L10n support is provided in the form of ResourceBundles, which are derived from text-based message catalogs located in weblogic/msgcat.
The message catalogs are XML files that define each message. The catalogs for the base locale are defined by the msgcat.dtd document type definition. Catalogs which provide different localizations of the base catalogs are defined in msgcat subdirectories named after the locale (for example, weblogic/msgcat/ja), and use the l10n_msgcat.dtd document type definition.
A message catalog file may define log messages or simple text. A single catalog may not include definitions for more than one type of message. Each catalog should only contain message definitions for a particular subsystem. Subsystems can be further subdivided into smaller subsystems. For instance, The EJB messages might all be in a single subsystem or be further divided into the various EJB packages.
The weblogic.i18ngen utility is used to parse and process the message catalog files, producing Localizer classes for each catalog. Localizer classes are packaged according to the l10n_package attribute.
|
Copyright 1996, 2014, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Java API Reference for Oracle WebLogic Server 12c (12.1.3) Part Number E41849-02 |
|||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |