BEA WebLogic Server Manuel d'utilisateur Page 1

Naviguer en ligne ou télécharger Manuel d'utilisateur pour Logiciel BEA WebLogic Server. BEA WebLogic Server User's Manual Manuel d'utilisatio

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 88
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 0
BEA
WebLogic
Server
Internationalization Guide
Release 7.0
Document Revised: August 20, 2002
Vue de la page 0
1 2 3 4 5 6 ... 87 88

Résumé du contenu

Page 1 - WebLogic

BEAWebLogic Server™Internationalization GuideRelease 7.0Document Revised: August 20, 2002

Page 2 - Restricted Rights Legend

x Internationalization GuideDocumentation ConventionsThe following documentation conventions are used throughout this document.Convention UsageCtrl+Ta

Page 3 - Contents

Internationalization Guide xi|Separates mutually exclusive choices in a syntax line. Example:java weblogic.deploy [list|deploy|undeploy|update] pas

Page 4

xii Internationalization Guide

Page 5

Internationalization Guide 1-1CHAPTER1 Overview of Internationalization for WebLogic ServerThe following sections provide an overview of localization

Page 6

1 Overview of Internationalization for WebLogic Server1-2 Internationalization Guide(I18N) refers to the preparation of software so that it behaves pr

Page 7 - About This Document

Understanding Message CatalogsInternationalization Guide 1-3Understanding Message CatalogsAll internationalized text is defined in message catalogs, e

Page 8 - How to Print the Document

1 Overview of Internationalization for WebLogic Server1-4 Internationalization GuideUnderstanding Java Interfaces for InternationalizationWebLogic Ser

Page 9 - Contact Us!

Main Steps for Creating an Internationalized MessageInternationalization Guide 1-52. Run i18ngen to validate the catalog you created or edited in Step

Page 10 - Documentation Conventions

1 Overview of Internationalization for WebLogic Server1-6 Internationalization Guide

Page 11 - Convention Usage

Internationalization Guide 2-1CHAPTER2 Using Message Catalogs with BEA WebLogic ServerThe following sections describe message catalogs and how to use

Page 12

CopyrightCopyright © 2002 BEA Systems, Inc. All Rights Reserved.Restricted Rights LegendThis software and documentation is subject to and made availab

Page 13 - 1 Overview of

2 Using Message Catalogs with BEA WebLogic Server2-2 Internationalization GuideMessage catalogs support multiple locales or languages. For a specific

Page 14

Choosing Names for Message CatalogsInternationalization Guide 2-3Note: This directory path may vary, depending on where you chose to install WebLogic

Page 15

2 Using Message Catalogs with BEA WebLogic Server2-4 Internationalization Guide Java allows you to group classes into a collection called a package.

Page 16 - Internationalization

Message Catalog FormatsInternationalization Guide 2-5An example of a method attribute for the above message is as follows:-method=“logNoFile(String na

Page 17

2 Using Message Catalogs with BEA WebLogic Server2-6 Internationalization Guide log_message Other log_message Catalog Elementsmessage_catalogThe fol

Page 18

Message Catalog FormatsInternationalization Guide 2-7log_messageThe following table describes the attributes that you can define for the log_message e

Page 19 - 2 Using Message

2 Using Message Catalogs with BEA WebLogic Server2-8 Internationalization GuideOther log_message Catalog ElementsThe following table describes the chi

Page 20 - Message Catalog Hierarchy

Message Catalog FormatsInternationalization Guide 2-9Log Message Catalog ExampleThe following example shows a log message catalog, MyUtilLog.xml, with

Page 21

2 Using Message Catalogs with BEA WebLogic Server2-10 Internationalization Guide version="1.0" baseid="600000" endid="6001

Page 22 - Using Message Arguments

Message Catalog FormatsInternationalization Guide 2-11message_catalogThe following table describes the attributes that you can define for the message_

Page 23 - Message Catalog Formats

Hybrid Templates for FrameMaker 5.5 -iiiContentsAbout This DocumentAudience...

Page 24 -  log_message

2 Using Message Catalogs with BEA WebLogic Server2-12 Internationalization GuidemessagebodyThe following table describes the child element of the mess

Page 25

Message Catalog FormatsInternationalization Guide 2-13Simple Text Catalog ExampleThe following example shows a simple text catalog, MyUtilLabels.xml,

Page 26 - Description

2 Using Message Catalogs with BEA WebLogic Server2-14 Internationalization GuideElements of a Locale-Specific CatalogThe locale-specific catalogs are

Page 27

Message Catalog FormatsInternationalization Guide 2-15Locale Message Catalog SyntaxThe following example shows a French translation of a message that

Page 28 -  messagebody

2 Using Message Catalogs with BEA WebLogic Server2-16 Internationalization Guide

Page 29

Internationalization Guide 3-1CHAPTER3 Using the BEA WebLogic Server Message EditorThe following sections describe how to use the Message Editor: Abo

Page 30

3 Using the BEA WebLogic Server Message Editor3-2 Internationalization GuideNote: The Message Editor does not support the editing of localized catalog

Page 31

Starting the Message EditorInternationalization Guide 3-3Starting the Message EditorBefore you start the Message Editor, you should have installed and

Page 32

3 Using the BEA WebLogic Server Message Editor3-4 Internationalization GuideFigure 3-1 WebLogic Message Editor for Log MessagesWorking with Catalogs

Page 33

Working with CatalogsInternationalization Guide 3-5Browsing to an Existing CatalogTo find an existing catalog from the main WebLogic Message Editor wi

Page 34

-iv Hybrid Templates for FrameMaker 5.5message_catalog... 2-11message ...

Page 35 - 3 Using the BEA

3 Using the BEA WebLogic Server Message Editor3-6 Internationalization GuideFigure 3-3 WebLogic Message Editor for Log MessagesIf a simple messages

Page 36

Working with CatalogsInternationalization Guide 3-7Figure 3-4 WebLogic Message Editor for Simple MessagesCreating a New CatalogTo create a new catal

Page 37 - Starting the Message Editor

3 Using the BEA WebLogic Server Message Editor3-8 Internationalization GuideFigure 3-5 Create New Catalog3. In the Message Catalog field, enter the

Page 38 - Working with Catalogs

Adding Messages to CatalogsInternationalization Guide 3-9Adding Messages to CatalogsThe following sections describe how to use the Message Editor to a

Page 39

3 Using the BEA WebLogic Server Message Editor3-10 Internationalization GuideFigure 3-6 Log Messages2. Enter a unique alphanumeric Message ID or cli

Page 40

Adding Messages to CatalogsInternationalization Guide 3-116. Toggle the Display stacktrace option on or off by clicking the checkmark box. Use this op

Page 41 - Creating a New Catalog

3 Using the BEA WebLogic Server Message Editor3-12 Internationalization Guide5. Enter the Message body text.6. Click Add.The message is added and the

Page 42

Finding MessagesInternationalization Guide 3-135. Enter as much information as you need in the Message text search field to find the correct message.

Page 43 - Entering a New Log Message

3 Using the BEA WebLogic Server Message Editor3-14 Internationalization GuideUsing the Message ViewerThe WebLogic Message Editor contains a Message Vi

Page 44 - {n}. For example:

Using the Message ViewerInternationalization Guide 3-15Figure 3-10 Message ViewerViewing All Messages in Several CatalogsIf you view the messages fr

Page 45

Hybrid Templates for FrameMaker 5.5 -vSyntax ... 4-5Opti

Page 46 - Finding a Log Message

3 Using the BEA WebLogic Server Message Editor3-16 Internationalization GuideEditing an Existing MessageTo edit an existing message, complete the foll

Page 47 - Finding a Simple Text Message

Internationalization Guide 4-1CHAPTER4 Using the BEA WebLogic Server Internationalization UtilitiesThe following sections contain information about th

Page 48 - Using the Message Viewer

4 Using the BEA WebLogic Server Internationalization Utilities4-2 Internationalization Guide 18ngen Utility—Message catalog parser. Use this utility

Page 49

About the WebLogic Server Internationalization and Localization InterfacesInternationalization Guide 4-3As another example, when the MyUtilLog.xml cat

Page 50 - Editing an Existing Message

4 Using the BEA WebLogic Server Internationalization Utilities4-4 Internationalization GuideThe output prints the message text in the current locale,

Page 51 - 4 Using the BEA

l10ngen UtilityInternationalization Guide 4-5l10ngen UtilityThe l10ngen utility processes the locale-specific catalogs in directories that are subordi

Page 52 - Interfaces

4 Using the BEA WebLogic Server Internationalization Utilities4-6 Internationalization GuideNote: Utilities can be run from any directory, but if file

Page 53

CatInfo UtilityInternationalization Guide 4-7OptionsNote: All options may be abbreviated to a single character.To export the detailed list of messages

Page 54 - 18ngen Utility

4 Using the BEA WebLogic Server Internationalization Utilities4-8 Internationalization Guide

Page 55

Internationalization Guide A-1APPENDIXA Localizer Class Reference for BEA WebLogic ServerThe following sections provide reference information for Loca

Page 56 - CatInfo Utility

-vi Hybrid Templates for FrameMaker 5.5

Page 57

A Localizer Class Reference for BEA WebLogic ServerA-2 Internationalization GuideLocalizer MethodsLocalizers are extensions to the java.util.ListResou

Page 58

Localizer Lookup ClassInternationalization Guide A-3The following list shows the severity values that are returned: weblogic.logging.severities.EMERG

Page 59 - A Localizer Class

A Localizer Class Reference for BEA WebLogic ServerA-4 Internationalization Guide Localizer class is the name of the generated Localizer classFor exa

Page 60 - Localizer Methods

Internationalization Guide B-1APPENDIXB Logger Class Reference for BEA WebLogic ServerThe following sections provide reference information for Logger

Page 61 - Localizer Lookup Class

B Logger Class Reference for BEA WebLogic ServerB-2 Internationalization GuideExample of a Generated Logger ClassListing B-1 show an example of a cata

Page 62

Example of a Generated Logger ClassInternationalization Guide B-3 stacktrace="true" > <messagebody>This message is foll

Page 63 - B Logger Class Reference

B Logger Class Reference for BEA WebLogic ServerB-4 Internationalization GuideListing B-2 Example of Generated Logger Classpackage examples.i18n.log

Page 64

Example of a Generated Logger ClassInternationalization Guide B-5 public static Loggable testArgsLoggable(String arg0, int arg1) throws MissingResour

Page 65

B Logger Class Reference for BEA WebLogic ServerB-6 Internationalization Guide * messageid: 600004 * severity: info */ public static String

Page 66

Example of a Generated Logger ClassInternationalization Guide B-7import java.util.Locale;import weblogic.i18n.Localizer;import weblogic.i18ntools.L10n

Page 67

Internationalization Guide viiAbout This DocumentThis document defines internationalization and localization, and explains how to use the templates an

Page 68

B Logger Class Reference for BEA WebLogic ServerB-8 Internationalization Guide */ Throwable t = new Throwable("Test with stack trace&q

Page 69

Example of a Generated Logger ClassInternationalization Guide B-9 System.out.println(fmt.i18nPackage(messageId,lcl.getI18nPackage())); Syste

Page 70

B Logger Class Reference for BEA WebLogic ServerB-10 Internationalization Guide

Page 71

Internationalization Guide C-1APPENDIXC Loggable Object Reference for BEA WebLogic ServerThe following sections provide reference information for Logg

Page 72

C Loggable Object Reference for BEA WebLogic ServerC-2 Internationalization GuideHow Loggable Objects Are UsedTo create a Logger that provides methods

Page 73 - C Loggable Object

How Loggable Objects Are UsedInternationalization Guide C-3 logIOErrorLoggable (Throwable)—returns a Loggable objectThe Loggable class can be used as

Page 74 - How Loggable Objects Are Used

C Loggable Object Reference for BEA WebLogic ServerC-4 Internationalization Guide

Page 75

Internationalization Guide D-1APPENDIXD TextFormatter Class Reference for BEA WebLogic ServerThe following sections provide reference information for

Page 76

D TextFormatter Class Reference for BEA WebLogic ServerD-2 Internationalization GuideExample of an Application Using a TextFormatter ClassListing 4-3

Page 77 - D TextFormatter Class

Example of an Application Using a TextFormatter ClassInternationalization Guide D-3 </message> <!-- --> <message messageid=

Page 78 - TextFormatter Class

viii Internationalization GuideAudienceThis document is written for application developers who must internationalize or localize the message catalogs

Page 79

D TextFormatter Class Reference for BEA WebLogic ServerD-4 Internationalization Guide datelastchanged="967578755587" method="

Page 80

Example of an Application Using a TextFormatter ClassInternationalization Guide D-5 * using the catalog editing utility, weblogic.i18ntools.gui.Messag

Page 81

D TextFormatter Class Reference for BEA WebLogic ServerD-6 Internationalization Guide */ HelloWorldTextFormatter fmt = new HelloWorldTextForm

Page 82

Example of an Application Using a TextFormatter ClassInternationalization Guide D-7Listing 4-5 Example of Generated TextFormatter Class for the Hell

Page 83

D TextFormatter Class Reference for BEA WebLogic ServerD-8 Internationalization Guide <!-- --> <message messageid="VERSION&quo

Page 84

Example of an Application Using a TextFormatter ClassInternationalization Guide D-9

Page 85

D TextFormatter Class Reference for BEA WebLogic ServerD-10 Internationalization Guide

Page 86

Hybrid Templates for FrameMaker 5.5 I--iIndexAargumentkey A-2message 2-4Ccatalogbrowsing for 3-5context 3-2creating 3-7entering a new log message 3-9e

Page 87

I--ii Hybrid Templates for FrameMaker 5.5definition of 1-2log messages 1-2simple text 1-2Localizers 4-2, A-1log message catalogelements 2-5example 2-9

Page 88

Internationalization Guide ixRelated InformationFor more information in general about internationalization and localization, refer to the following so

Commentaires sur ces manuels

Pas de commentaire