Skip Headers

Oracle Workflow Administrator's Guide
Release 2.6.3

Part Number B10283-02
Previous Next       Contents Index Glossary
         Previous  Next          Contents  Index  Glossary

Step 5 Setting Up Additional Languages

The Oracle Workflow web pages, your workflow definitions, and workflow notifications can be translated to the languages defined in your Oracle installation. Some of the steps for setting up other languages in addition to English differ for the standalone and embedded versions of Oracle Workflow.

Note: You can only display languages that require a multibyte character set if your database uses a character set that supports these languages, such as UTF8. For more information, see: Choosing a Character Set, Oracle Database Globalization Support Guide.

WF_LANGUAGES View

To support additional languages, Oracle Workflow uses a view called WF_LANGUAGES that identifies the languages defined in your Oracle installation. This view is automatically created during installation for both the standalone and the embedded versions of Oracle Workflow. Oracle Workflow uses the WF_LANGUAGES view to create, in its translatable tables, a row for each language that maps to a row found in the corresponding non-translated base table.

The WF_LANGUAGES view includes the following columns:

See: Oracle Database Globalization Support Guide

arrow icon   To Display Oracle Workflow Web Pages in Other Languages

The Oracle Workflow Configuration Assistant performs the following tasks to set up a language:
If you have multiple languages loaded for Oracle Workflow, as a workflow administrator, you can specify the default language that your users' web sessions display by setting the Language preference in the Global User Preferences web page. Individual users can override the default language by setting the Language preference in the User Preferences web page. See: Setting Global User Preferences and Setting User Preferences, Oracle Workflow User's Guide.
Note: To display Oracle Workflow web pages properly, the character sets on the database tier and middle tier must match. The NLS_LANG value specified in the Database Access Descriptor (DAD) for Oracle Workflow in Oracle HTTP Server should be set to the database character set, using the following format:
         .CHARSET
Note that it is important to include the period (.) before the character set name in the NLS_LANG value. For more information, see the installation documentation for your release and platform.

arrow icon   To Create and View Workflow Definitions in Other Languages using Oracle Workflow Builder

1. Set the NLS_LANG environment variable for the new language, territory, and encoded character set that you want to use for the workflow definition. For example, for Windows NT, run the regedit32 command and locate the NLS_LANG setting under the HKEY_LOCAL_MACHINE/SOFTWARE/ORACLE hierarchy. Double click on NLS_LANG. Then set the variable to the new value and save your work. Specify the value for NLS_LANG in the following format:
 LANGUAGE_TERRITORY.CHARSET
For more information about setting NLS_LANG, see: Globalization Support, Oracle Database Installation Guide.
2. Start Oracle Workflow Builder. Create a translated version of your workflow definition and save it as a flat file (.wft), or open and view a workflow definition that is already translated.
Note: Although you can enter and view property values for your workflow definitions in other languages, the Oracle Workflow Builder user interface is still displayed in English.

arrow icon   To Load Workflow Definitions in Other Languages to a Database

1. Ensure that the WF_LANGUAGES view has been created in your workflow server. This view is automatically created during installation.
2. Ensure that the language you want is set up in the database.
3. Load the translated workflow definition to your workflow database using either the Workflow Definitions Loader or the Workflow Builder.
To set NLS_LANG before running the Workflow Definitions Loader, use the following format:
         _TERRITORY.CHARSET
Note that it is important to include the underscore (_) before the territory name and the period (.) between the territory name and the character set name in the NLS_LANG value. For example, if the .wft file was created in the Japanese native character set encoding JA16SJIS, set NLS_LANG to the following value:
         _JAPAN.JA16SJIS.
You do not need to include the language in this NLS_LANG value because the Workflow Definitions Loader uses the language specified within the .wft file to determine the language to load. See: Using the Workflow Definitions Loader.
Note: If you create all your translated workflow definition files in Unicode encoding, you can simply set NLS_LANG to .UTF8 before loading these files. In this case you will not need to reset NLS_LANG for translated files in different languages, because the .UTF8 character set applies to all the files in Unicode encoding.
Note: The translated versions of Oracle Workflow's standard and demonstration workflow definitions are provided in native character set encoding, not in UTF8.

arrow icon   To Send E-mail Notifications in Other Languages

1. Determine whether Oracle has translated the e-mail notification templates to the language you wish to set by checking for the file containing the templates in the appropriate language subdirectory, $ORACLE_HOME/wf/res/<lang> for the standalone version of Oracle Workflow or $FND_TOP/import/<lang> for the version of Oracle Workflow embedded in Oracle Applications. The standard templates are delivered in a file called wfmail.wft. See: Modifying Your Message Templates.
2. If the e-mail templates are available for the desired language, Oracle Workflow uses the language preference for the notification recipient to determine the language for an e-mail notification.

         Previous  Next          Contents  Index  Glossary


Oracle Logo
Copyright © 2003 Oracle Corporation.

All rights reserved.