Generating documents in different languages

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

About this task

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

Procedure

  1. Open a document template which you have created in Document Studio and go to RPE Launcher or if you are using the stand alone RPE Launcher, click File > Open Document Specification and select the desired file. For example, demo.dsx file.
  2. In the Document Specification panel, expand Templates and click Template. This is the template which you have loaded. The Properties of the selected document specification displays.
  3. In the Properties panel, click translation and select the required language from the list in the Value column. The language list displays based on the number of templates created in different languages.
  4. In the Document Specification panel, click Metadata.
  5. In the Properties panel, click output locale and set the required language.
    Note: If the template translation property and the output locale property are not set, the document generation will use the current system locale language. The sequence is in the following order: template translation property > output locale property > system locale.
  6. On the menu, click Document Specification > Generate Current Document.
  7. Open the document and verify the content.

Feedback