bi publisher 10

Post on 30-Dec-2015

42 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

10Copyright © 2011, Oracle and/or its affiliates. All rights reserved.

Performing Translations

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 2

Objectives

After completing this module, you should be able to do the following:

• Describe the types of translations and options available within BI Publisher for performing translations

• Create a localized template for translations by using Template Builder

• Create a translation file by using the BI Publisher Enterprise Edition

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 3

Introducing Translation Types

• Two types of translations:– Localized Template (or Layout): A separate, translated RTF

based template– XML Localization Interchange File Format (XLIFF):

Generated from the original template

• File types that can be translated include:– RTF layout files– Style Templates– Sub Templates– BI Publisher layout files (.xpt)

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 4

Translating by Using a Localized Template

RTF Localized Template Option

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 5

Using the Localized Template Option: Process Overview

1. Design the localized RTF layout template, Sub Template, or Style Template.

2. Upload the localized file to Template Manager.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 6

Step 1: Designing the Localized Template

Edit the report and make the appropriate

entries.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 7

Step 2: Uploading the Localized File to Template Manager

1 2

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 8

Translating by Using an XLIFF

XLIFF File Option

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 9

The Structure of an XLIFF File

Excerpt from an XLIFF file that has not been

translated

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 10

XLIFF File Attributes

Translation(Language/Territory)

source-language examples

target-language examples

From English/US to English/Canada

en-US en-CA

From English/US to Chinese/China

en-US zh-CN

From Japanese/Japan to French/France

ja-JP fr-FR

Table of translations

example

Source/target-language

codes

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 11

XLIFF File Embedded Data Fields

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 12

XLIFF File Elements

Original example updated with

Chinese translation

Original example: <source> and <target>

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 13

Using the XLIFF Option: Process Overview

1. Generate the XLIFF from the RTF or BI Publisher (XPT) template.– Two methods for generating the XLIFF for a single template

file:— Generate the XLIFF by using Template Builder for MS Word (not

supported for XPT templates)— Generate the XLIFF from the Layout Properties page

2. Translate the strings.

3. Preview by using Template Builder.

4. Upload the translation.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 14

Step 1: Generating the XLIFF by Using Template Builder (Method 1)

3

2

1

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 15

Step 1: Generating the XLIFF from the Layout Properties Page (Method 2)

1

2

3

4

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 16

Step 2: Translating the Strings

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 17

Step 3: Previewing by Using Template Builder

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 18

Step 3: Previewing by Using Template Builder

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 19

1

Step 4: Uploading the Translation

2

3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 20

Managing XLIFF Translations on BI Publisher Server

Two methods:

• Template translation: Extract and upload a separate localized translation for RTF Templates.

• Catalog translation: Extract and upload translations for all objects in a selected Catalog folder, into a single XLIFF file.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 21

The Overall Translation Process

1. You extract translatable strings for a Catalog or template translation.

2. BI Publisher creates an XLIFF file.

3. Strings are translated locally.

4. Upload the translated XLIFF file to the Catalog or template.

5. Assign the appropriate locale.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 22

Catalog Translations

Use the Export XLIFF command at the Catalog level to export the following objects:

• Folder

• Data Model

• Report Style Templates

• Sub Templates

• BI Publisher Layouts (XPT)

• RTF Layouts

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 24

User Preferences

Based on Report Locale and UI

Language

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 25

Exporting the XLIFF File for a Catalog Folder

1

2

3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 26

Viewing the Exported XLIFF File

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 27

Importing the XLIFF File for a Catalog Folder

1

2

3

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 28

Locale Selection Logic at Run Time

Translation is applied based on the user’s selected Report Locale as follows:

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 29

Summary

In this module, you should have learned how to:

• Describe the types of translations and options available within BI Publisher for performing translations

• Create a localized template for translations by using Template Builder

• Create a translation file by using the BI Publisher Enterprise Edition

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 30

Practice 10: Overview

This practice covers the following topics:

• Uploading a localized template to Template Manager

• Generating and uploading and XLIFF translation

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 31

Quiz: Overview

This quiz examines your knowledge of the concepts discussed in the lesson.

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 32

Quiz

You use Catalog translation when you only need the final report documents translated.

a. True

b. False

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 33

Quiz

When you extract the translatable strings for a Catalog or template translation, BI Publisher creates an XLIFF file that contains the strings to be translated.

a. True

b. False

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 34

Quiz

BI Publisher applies a translation based on the user's Report Locale setting. BI Publisher tries to match an RTF template named for the locale, followed by an attempt to match an XLIFF file named for the locale.

a. True

b. False

Copyright © 2011, Oracle and/or its affiliates. All rights reserved.10 - 35

Quiz

Catalog translation enables the extraction of translatable strings from all objects contained in a selected Catalog folder into a single translation file.

a. True

b. False

top related