Add Translations For the Catalog and Reports
About Translation in Publisher
Publisher supports two types of translation: Catalog Translation and Template (or layout) Translation.
Catalog translation enables the extraction of translatable strings from all objects contained in a selected catalog folder into a single translation file; this file can then be translated and uploaded back to Publisher and assigned the appropriate language code.
Catalog translation extracts not only translatable strings from the report layouts, but also the user interface strings that are displayed to users, such as catalog object descriptions, report parameter names, and data display names.
Users viewing the catalog see the item translations appropriate for the UI Language they selected in their My Account preferences. Users see report translations appropriate for the Report Locale that they selected in their My Account preferences.
Template translation enables the extraction of the translatable strings from a single RTF-based template (including sub templates and style templates) or a single Publisher layout template (.xpt file). Use this option when you only need the final report documents translated. For example, your enterprise requires translated invoices to send to German and Japanese customers.
Export and Import a Catalog Translation File
Importing the translated file to the catalog and exporting the XLIFF files from the catalog can only be performed by an Administrator.
Translate Templates
You can translate the RTF and Publisher (.xpt) templates from the Properties page.
Template translation includes:
-
RTF templates
-
RTF sub templates
-
Style templates
-
Publisher templates (.xpt)
To access the Properties page, click the Properties link for the layout in the Report Editor, as shown below.
From the Properties page you can generate an XLIFF file for a single template. Click Extract Translation to generate the XLIFF file.
Generate the XLIFF File from the Layout Properties Page
Generate the XLIFF file for report layout templates, style templates, and sub templates.
- To generate the XLIFF file for report layout templates, perform these steps.
- To generate the XLIFF file for style templates and sub templates, perform these steps.
Translate the XLIFF File
When you download a XLIFF file, it can be sent to a translation provider, or using a text editor, you can enter the translation for each string.
A "translatable string" is any text in the template intended for display in the published report, such as table headers and field labels. Text supplied at runtime from the data is not translatable, nor is any text that you supply in the Microsoft Word form fields.
You can translate the template XLIFF file into as many languages as desired and then associate these translations to the original template.
Use a Localized Template
You can create localized templates for reports.
If you need to design a different layout for the reports that you present for different localizations, then you can create new RTF file designed and translated for the locale and upload this file to the Template Manager.
The localized template option is not supported for XPT templates.
Design the Localized Template File
Use the same tools that you used to create the base template file, translating the strings and customizing the layout as desired for the locale.