Skip Headers
Oracle® Business Intelligence Publisher
11g Release 1 (11.1.1)
  Go To Table Of Contents
Contents

Previous
Previous
 
Next
Next
 

Managing Report Localization Files

The Properties page is where you manage report localizations (also referred to as translations).

Report localizations are supported for

There are two options for adding localizations for templates:

Translation Properties Page

Use the first option if the translated template requires a different layout from the original template. See Adding Localized Templates to a Report.

If you require only translation of the text strings of the template layout, then use the XLIFF option. See Adding XLIFF Translations to a Report.

For more information about the localization options and processes see the chapter "Translation Support Overview and Concepts" in the Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher.

Adding Localized Templates to a Report

For RTF-based report templates, subtemplates, and style templates you can upload locale-specific templates. Use this option when you have a single report with very specific layout requirements for different locales. For example, assume you have an invoice that must go to Japanese customers, German customers, and Arabic customers. Each locale requires a different placement of report elements or data fields. You can create an RTF template for each locale. At run time BI Publisher generates the report using the appropriate localized template

You upload each localized template to the Templates region of the Properties page.

To upload a localized template:

  1. Navigate to the Properties page: From the Report Editor, click Properties for the template for which you want to add localizations.

    Clicking the Properties link
  2. On the Properties page, under the Templates region the default template is displayed. Click Upload.

    Click Upload
  3. Locate the localized template file in your file system and select the appropriate locale.

    Upload translation file
  4. Click OK. The localized template displays in the Properties page.

    Translated template displayed

Adding XLIFF Translations to a Report

Translation is a feature of BI Publisher that enables you to extract the translatable strings from a report layout into an industry-standard XLIFF translation file.

You can translate these strings within your organization or send the file to a localization provider. You then upload the translated XLIFF file back to the report and assign it the appropriate locale.

At run time, when a user's Locale preference is set to the locale of an available XLIFF translation file, the translated strings from the XLIFF are applied to the report template and the user sees the translations of the text strings appropriate for his locale.

XLIFF translation is supported for all RTF-based templates as well as BI Publisher layouts:

Extracting and Downloading a Translation File

To generate and download the XLIFF file for a report layout, subtemplate, or style template:

  1. Navigate to the Properties page: From the Report Editor, click Properties for the template for which you want to add translations.

    Clicking the Properties link
  2. In the Translations region, click Extract Translation.

    BI Publisher extracts the translatable strings from the template and exports them to an XLIFF (.xlf) file.

    Click Extract Translation
  3. Save the XLIFF file to a local directory.

Translating the XLIFF File

After downloading the XLIFF file, you can send it to a translation provider, or using a text editor, you can enter the translation for each string. For information about how to edit an XLIFF file, see the chapter "Translation Support Overview and Concepts" in the Oracle Fusion Middleware Report Designer's Guide for Oracle Business Intelligence Publisher.

A "translatable string" is any text in the template that is intended for display, such as table headers and field labels. Text supplied at run time from the data is not translatable.

You can translate the template XLIFF file into as many languages as desired and associate these translations to the original template for multiple language support in a single report.


Important:

Ensure that when you save your translated file, you save it with UTF-8 encoding.


Uploading the Translated File

To upload the translated XLIFF:

  1. Navigate to the Properties page: From the Report Editor, click Properties for the template for which you want to add translations.

  2. In the Translations region, click the Upload toolbar button.

    Upload Translation
  3. In the Upload Translation File dialog locate the file in a local directory and select the Locale for this translation.

    Upload Translation File dialog
  4. Click OK to upload the file and view it in the Translations table.

    Xliff File Uploaded

Now users whose locale setting matches the locale assigned to this translation see the translated strings when viewing this template.