You can design a template with the language of your choice,
translate a template from one language to another or use an existing
template containing multiple languages to design a new template. You
can edit the templates in different languages. The translation tool
helps you to easily adapt a template to your region specific language.
You can view these templates in different languages using the IBM® Rational® Publishing Engine Launcher.
Procedure
To create a new template with multiple languages in Document
Studio:
- In RPE Studio, on the menu, click File > New > Document
Template.
- Add a few elements such a Container, Paragraph, Text, Hyperlink
and enter some values in these elements. For example, enter English
in the Text element, www.default.english.com in the Hyperlink element.
- Click File > Save.
For example, demo.dta.
- On the menu, click Template > Add
Template Language.
- Select the desired language from the list and click OK.
For example, French. The selected language appears beside
the template name, for example, demo.dta - French.
Also, the following message appears in the Console panel The
Template Language properties has been set to French.
- Modify and translate the text values in the elements. For
example, enter French in the Text element, www.default.french.com
in the Hyperlink element. Click File > Save.
- On the menu, click File > Open
Document Template >Browse (demo.dta) > OK .
- Select Open the Template as this Language properties,
select French from the list and click OK. The demo.dta - French opens displaying
the added French elements.
Note: Repeat steps 4 to 8 to add additional
languages.
What to do next
- 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.
- 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.
For more information, see
Generating documents in different languages.