Use the XLIFF Option

The XLIFF option is used to translate files.

The following sections describe using the XLIFF option:

Generate the XLIFF from a Template

These sections describe the two methods for generating an XLIFF for a single template file.

Generate the XLIFF from the Template Builder

Follow these steps to generate the XLIFF from the template builder.

This procedure assumes that you;ve installed the Publisher Template Builder for Microsoft Word.

To generate an XLIFF from the Template Builder:
  1. Open the template in Microsoft Word with the Template Builder for Word installed.
  2. On the Template Builder tab, in the Tools group, click Translation, and then click Extract Text.

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

  3. Save the XLIFF to a local directory.

Generate the XLIFF from the Layout Properties Page

You can generate the XLIFF file for report layout templates or for style templates and subtemplates.

To generate the XLIFF file for report layout templates:
  1. Navigate to the report in the catalog and click Edit to open it for editing.

  2. From the thumbnail view of the report layouts, click the Properties link of the layout (RTF or XPT) to open the Layout Properties page.

  3. In the Translations region, click Extract Translation.

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

  4. Save the XLIFF file to a local directory.

To generate the XLIFF file for style templates and subtemplates:
  1. Navigate to the style template or sub template in the catalog and click Edit to open the Template Manager.
  2. In the Translations region, click Extract Translation.

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

  3. Save the XLIFF file to a local directory.

Translate the XLIFF

When you've downloaded the 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 that is intended for display in the published report, such as table headers and field labels. Text supplied at runtime from the data isn't 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 associate these translations to the original template. Ensure that when you save your translated file, you save it with UTF-8 encoding.

Upload the Translated XLIFF to Publisher

After a XLIFF file is translated, upload the XLIFF file toPublisher.

To upload the translated XLIFF:

  1. Navigate to the report, subtemplate, or style template in the catalog and click Edit to open it for editing.

    For reports only:

    From the thumbnail view of the report layouts, click the Properties link of the layout to open the Template Manager.

  2. In the Translations region, click the Upload toolbar button.
  3. In the Upload Translation File dialog, locate the file in a local directory and select the Locale for this translation.
  4. Click OK to upload the file and view it in the Translations table.