Download as pdf or txt
Download as pdf or txt
You are on page 1of 19

Localizing Oracle BI Data

Copyright 2008, Oracle. All rights reserved.

Objective
After completing this lesson, you should be able to localize
Oracle BI data to support multilingual environments.

15 - 2

Copyright 2008, Oracle. All rights reserved.

Business Challenges and Solution


Challenges:
Companies require multilingual support for global
deployments of Oracle BI.
Users need to make decisions based on applications and
data presented in their own language.
Solution:
Add multilingual support to Oracle BI.

15 - 3

Copyright 2008, Oracle. All rights reserved.

Oracle BI Multilingual Support


Requires three types of configurations:
Repository metadata, such as presentation folders
Focus of last lesson

Database data, such as product names


Focus of this lesson

Report and dashboard metadata, such as chart labels


Covered in a separate course

15 - 4

Copyright 2008, Oracle. All rights reserved.

Required Translation Tables


Data translation requires two tables:
List of values (LOV) language translation table
Provides functionality similar to metadata translation table

Available language table


Provides list of available user data languages

15 - 5

Copyright 2008, Oracle. All rights reserved.

ABC Example
Translate ABC product-type data from English to French.

15 - 6

Copyright 2008, Oracle. All rights reserved.

Steps for Localizing Data


1.
2.
3.
4.
5.
6.
7.
8.
9.

Create a language translation table.


Create an available language table.
Import tables to the Physical layer.
Create a session variable initialization block.
Create a language translation table alias.
Create physical joins.
Map the logical table source.
Create column mapping.
Apply a WHERE filter.

10.Verify the results.

15 - 7

Copyright 2008, Oracle. All rights reserved.

1. Create a Language Translation Table


This table contains required columns and the language value
translations.

TYPE: A categorization for


a set of values

Languageindependent code
(LIC): Identifies
which record is being
translated

LANG_ID: Code
that identifies the
language of the row

15 - 8

VAL: Translated data


that is displayed to
the user

Copyright 2008, Oracle. All rights reserved.

2. Create an Available Language Table


This table stores a list of languages available for querying
against the data.
LANGUAGE: identifies the
language name

LANGUAGE_EXTENSION:
identifies language variations
based on country or region

LANG_ID: identifies the


language of the row

15 - 9

Copyright 2008, Oracle. All rights reserved.

3. Import Tables to the Physical Layer


Use known techniques to import language tables to the
Physical layer of the repository.

Available language table

Language translation table

15 - 10

Copyright 2008, Oracle. All rights reserved.

4. Create a Session Variable Initialization Block


Create a session variable initialization block to check whether
the language selected by the user is in the language table.

Checks whether the user


language preference stored
in WEBLANGUAGE is in the
D1_LANG table

Session variable

15 - 11

Language default if the preferred language


is not found in the D1_LANG table

Copyright 2008, Oracle. All rights reserved.

5. Create a Language Translation Table Alias


Create an alias of the LOV table for each column that needs to
be translated.

Set the alias name to the


name of the column to be
translated.

15 - 12

Copyright 2008, Oracle. All rights reserved.

6. Create Physical Joins


Create a join between the product dimension and the alias for
the column translation.

Dimension table
column to be
translated

joins to LIC
in alias table.
Join finds all
translations in
alias table for a
given item type.

15 - 13

Copyright 2008, Oracle. All rights reserved.

7. Map the Logical Table Source


Map an existing logical table source to the alias.

Alias table

15 - 14

Copyright 2008, Oracle. All rights reserved.

8. Create Column Mapping


Modify the Type field to map to the VAL column in the ItemType
(D1_LOV_D) alias.

15 - 15

Copyright 2008, Oracle. All rights reserved.

9. Apply a WHERE Filter


To the logical table source,
apply a WHERE filter that:
Searches in the alias table
for records that have the
same language ID as
specified in the language
initialization block
Identifies the set of records
in the alias table that are of
the ABC Product Type
category

15 - 16

Copyright 2008, Oracle. All rights reserved.

10. Verify the Results


Run a query in Answers and verify that the expected results
are returned.

Check the log file and verify that the VAL column is accessed
with the expected WHERE clause.

15 - 17

Copyright 2008, Oracle. All rights reserved.

Summary
In this lesson, you should have learned how to localize Oracle
BI data to support multilingual environments.

15 - 18

Copyright 2008, Oracle. All rights reserved.

Practice 15-1 Overview:


Localizing Oracle BI Data
In this practice, you localize product type data from English to
French.

15 - 19

Copyright 2008, Oracle. All rights reserved.

You might also like