Generating documents in different languages

The Rational® Publishing Engine launcher allows you to generate documents in different languages.

Before you begin

You created templates with different languages and created their corresponding document specifications.

About this task

Language specifications are checked in the following order:
  1. Template translation property
  2. Output locale property in the Document Specification metadata
  3. System locale
If the template translation property and the output locale property are not set, the document generation uses the system locale language.

Procedure

  1. Open a document specification in the Launcher application.
  2. Select a language for each template.
    1. In the Document Specification view, expand Templates.
    2. Select Template. The Properties view for the selected template displays.
    3. In the Properties view, click the translation property and select the required language. The language list displays based on the language of the template.
    4. Repeat for each template.
  3. If you choose a language that is a bidirectional language, such as Hebrew or Arabic, set the bidi property for each output format.
    1. In the Document Specification view, select an output format. Example: Target: HTML
    2. In the Properties view, click the bidi property and select true.
    3. Repeat for each output format.
  4. Select a language for the document specification.
    1. In the Document Specification view, click Metadata.
    2. In the Properties view, click output locale and set the required language.
  5. Click Document Specification > Generate Current Document.
  6. Open the document and verify the content.

Feedback