Showing posts with label OBIEE Localization. Show all posts
Showing posts with label OBIEE Localization. Show all posts

Wednesday, April 18, 2012

Multi Language Support(Localization)(Presentation Services)

One of the foremost important features in OBIEE is Localization i.e. Multi country implementation .It’s a robust feature indeed to make the application reusable across several countries in multi country roll-out deployment and thus internationalizing the application.

The Oracle Business Intelligence Presentation layer supports multiple language translations for any presentation column name and column description. When working with Oracle BI Answers or rendering a dashboard, users should 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 required for the translation in Oracle Business Intelligence:

Metadata Strings:

Metadata strings are Analytics-created objects in the Oracle Business Intelligence repository objects such as Subject Area, Metrics, and Dimensions etc.

Presentation Services (Localizing Presentation Catalog Captions):

Presentation Services objects are end-user created objects such as Reports, Dashboards, and Pages. Translations for Presentation Services strings are stored in the captions.xml file. How this could be accessed can be found from Oracle BI Presentation Service Admin Guide.

WEBLANGUAGE system session variable:

For Presentation Services the language is set based on the WEBLANGUAGE session variable. WEBLANGUAGE is set to the language of the user's browser when a user logs in for the first time. For example, if a user with a browser language set to Japanese logs in for the first time, then the value for WEBLANGUAGE is Japanese, and the metadata is translated to Japanese.

Tuesday, April 17, 2012

Externalize Presentation Layer


How to Externalize Presentation Layer i.e enable translation of Presentation Layer depending on the User Logged in Language.

Following steps are using for the translation of presentation layer:-
1. Open Administration Console and right click on the Presentation Subject Area that you would like to Externalize. You would see 2 options there to externalize names and descriptions. For now let’s externalize Names alone. So, click on Externalize Display Names.
2. Once this is done go to Tools->Utilities and Click on Execute to Externalize Strings.
3. Open up this Excel file and let’s understand the structure of the csv. The first column represents Actual Names prefixed by their types of the Presentation Layer. The second column represents a list of Session variables prefixed by CN_. Remember that by default CN_ would be prefixed. The 3rd column represents the actual translation. Let’s modify this csv and let’s add one more column called language. This language would have values of Languages supported by OBI EE (abbreviations).
4. The next step is to load this CSV file into a database table.
5. Now let’s import this table into the Physical layer.
6. The first step after importing this table is to create an initialization block to initialize the LOCALE variable based on the language selected by the user in Dashboard login. To do this creates a session initialization block having the data source from a database. The database sql would have a sql like this.
Select ‘VALUEOF (NQ_SESSION.WEBLANGUAGE)'
7. The next step is to create another session initialization block which would basically create a set of session variables using a database specific sql. The sql would look like this
Select SESSION_VARIABLE, TRANSLATION from external where LANGUAGE = ‘VALUEOF (NQ_SESSION.LOCALE)’
8. Then login to Dashboards using Japanese as the language.