|Oracle® Business Intelligence Applications Installation Guide for Informatica PowerCenter Users
Part Number E19038-01
|PDF · Mobi · ePub|
Oracle Business Intelligence is designed to allow users to dynamically change their preferred language and locale preferences. This chapter contains the following topics on how to configure Oracle Business Intelligence Applications for deployment in one or more language environments besides English:
The Oracle Business Intelligence Presentation layer supports multiple translations for any column name. When working with Oracle BI Answers or rendering a dashboard, users see their local language strings in their reports. For example, English-speaking and French-speaking users would see their local language strings in their reports. There are two kinds of application strings requiring translation in Oracle Business Intelligence:
Metadata strings are analytics-created objects in the Oracle Business Intelligence repository such as subject areas, metrics, and dimensions.
Presentation Services objects are end-user created objects such as reports, dashboards, and pages. Translations for Presentation Services strings are stored in the XML caption files. For more information on accessing these strings and changing the translations, see Oracle Business Intelligence Presentation Services Administration Guide.
This process includes the following tasks:
If Oracle Business Intelligence data in your deployment is to be viewed in a language other than English, you must also import Locale seed data into a data warehouse table called W_LOCALIZED_STRING_G. This process must be performed once for each language the application users might select to run their web client.
During the Oracle Business Intelligence installation, a directory named
ORACLE_HOME\biapps\seeddata was created, which contains a sub directory for each language. Within each language sub directory is a .dat file (the data to be imported) and an .inp file (the WHERE clause governing the import).
If the primary language being used is not English, you may have to import additional locale seed data (depending on the number of languages you use) as shown in the following procedure. Note: This procedure requires the use of the dataimp utility, which can only be used on 32-bit operating systems.
Note:This procedure should be performed only by a BI Administrator.
To verify creation of Translation Table (W_LOCALIZED_STRING_G) and corresponding indexes:
Verify that the Business Analytics Warehouse contains the W_LOCALIZED_STRING_G table.
Lookup the definitions of the indexes in DAC and create them manually in the Business Analytics Warehouse. The names of the indexes are as follows:
Note: It is better to add these indexes to W_LOCALIZED_STRING_G prior to importing the locale seed data in the next section, in order to safeguard against inadvertently duplicating the data in the table.
To import Locale seed data into the Translation Table (W_LOCALIZED_STRING_G)
Open a command window and navigate to ORACLE_HOME\biapps\seeddata\bin directory.
Run the import command in step 3 after replacing these connection parameters with the values appropriate to your database environment:
Run the import command:
ORACLE_HOME\biapps\seeddata\Bin\dataimp /u $UserName /p $Password /c "$ODBCDataSource" /d $DatabaseOwner /f ORACLE_HOME\biapps\seeddata\l_<XX>\analytics_seed_<XXX>.dat /w y /q 100 /h Log /x f /i ORACLE_HOME\biapps\seeddata\l_<XX>\metadata_upgrade_<XXX>_<DBPlatform>.inp /l metadata_upgrade_<XXX>.log
Note:Replace the XX with the Oracle Business Intelligence two-letter language code (fr, it) and the XXX with the Siebel Systems three-letter code (FRA, ITA).
When you have finished importing the Locale seed data into the Translation Table (W_LOCALIZED_STRING_G), configure the initialization block in the Oracle BI Repository using the Oracle BI Administration Tool to connect to the database where this table resides.
Note:Unicode connectivity can be used to access databases that do not support Unicode.
Metadata Strings are loaded by the Oracle BI Server from a database table. In the case of Oracle Business Intelligence applications, this table is W_LOCALIZED_STRING_G in the data warehouse. The initialization block 'Externalize Metadata Strings' loads the strings for the Server. It is recommended that you run a test to make sure that this initialization block runs successfully. An example of the translation table is shown in Table B-1.
Satisfação do cliente
By default, the Oracle Business Intelligence repository is configured to run in English only. To deploy in any other language, you must externalize the metadata strings, as described in the following procedure.
To externalize metadata strings in the Oracle Business Intelligence repository
Stop the Oracle BI Server.
Using the Oracle BI Administration Tool in offline mode, open OracleBIAnalyticsApps.rpd.
Select the entire Presentation layer and right-click the mouse to display the menu.
From the pop-up menu, select Externalize Display Names. (A check mark appears next to this option the next time you right-click on the Presentation layer.)
Unselect the Presentation layer.
Note:When Externalize Display Names is checked, all metadata strings are read from the W_LOCALIZED_STRING_G table in the data warehouse.
In the Physical layer, select the Externalized Metadata Strings database icon. Expand the tree.
Double-click Internal System Connection Pool.
In the Connection Pool dialog General tab, the field Data source name should point to the data warehouse.
Click OK and exit the Oracle BI Administration Tool.
Restart the Oracle BI Server.
When you add custom objects to the metadata and choose to externalize these objects (by right-clicking the object and checking the Externalize Display Name option), the Oracle BI Server looks for the translations (including those for the native language) in the W_LOCALIZED_STRING_G table.
If you do not externalize the display names, you do not need to perform the following procedures.
Note:The custom Presentation layer objects show up only in the native language of the metadata (the language in which you added these new objects).
The following procedure describes how to add string translations for Oracle Business Intelligence metadata to the W_LOCALIZED_STRING_G table. This task occurs in any database administration tool, and in the Oracle BI Administration Tool.
Open a database administration tool and connect to your data warehouse database.
Query for the table named W_LOCALIZED_STRING_G and add a new record to the table, as defined below in steps 4 to 8.
In the Oracle BI Administration Tool, right-click on the new Presentation layer metadata object and select Properties from the menu.
The Message key is displayed in the dialog under Custom Display Name. The Message key is the part that starts with CN_.
For example, double-click the Pipeline catalog directory in the Presentation layer. The Custom Display name is Valueof(NQ_SESSION.CN_Pipeline). CN_Pipeline is the Message Key.
Enter your deployment language in the new record.
Enter the Message Type required (for example, Metadata, FINS_Metadata).
Select the Message Level AnalyticsNew, then do the following:
In the Message Text column, add the translation of the object.
Check the flags (set to Yes) for the Translate and Active columns.
Set the Error Message # column to 0.
Exit the database administration tool, then restart the Oracle BI Server.
The translations for such Presentation Services objects as report and page names are stored in the xxxCaptions.xml files available in the
ORACLE_HOME\biapps\catalog\res\web\l_<Language Abbreviation>\Captions directories. In multiple language deployment mode, if you add any additional Presentation Services objects, such as reports and new dashboard pages, you also need to add the appropriate translations. Add these translations using the Catalog Manager tool. For more information on using this utility, see Oracle Business Intelligence Presentation Services Administration Guide.
In Oracle Business Intelligence Applications, you may see a dollar sign used as the default symbol when amounts of money are displayed. In order to change this behavior, you must edit the currencies.xml file using the following procedure. The currencies.xml file is located in the following directories:
To change the default currency in Analytics Applications
In a text editor, open the currencies.xml file.
Look for the currency tag for the warehouse default (tag="int:wrhs"):
<Currency tag="int:wrhs" type="international" symbol="$" format="$#" digits="2" displayMessage="kmsgCurrencySiebelWarehouse"> <negative tag="minus" format="-$#" /> </Currency>
Replace the symbol, format, digits and negative information in the warehouse default with the information from the currency tag you want to use as the default.
For example, if you want the Japanese Yen to be the default, replace the contents of the warehouse default currency tag with the values from the Japanese currency tag (tag="loc:ja-JP"):
<Currency tag="loc:ja-JP" type="local" symbol="¥" locale="ja-JP" format="$#" digits="0"> <negative tag="minus" format="-$#" /> </Currency>
When you are finished, the default warehouse currency tag for Japanese should look like the following example:
<Currency tag="int:wrhs" type="international" symbol="¥" format="$#" digits="0" displayMessage="kmsgCurrencySiebelWarehouse"> <negative tag="minus" format="-$#" /> </Currency>
Save and close the currencies.xml file.