Create a multilingual report in Reporting

You can create a report in IBM® Cognos® Analytics - Reporting that can be viewed in different languages. For example, you can specify that text such as the title appears in German when the report is opened by a German user. You can also add translations for text objects and create other language-dependent objects.

Before you begin

If you want the report to show data in different languages, the model must also be multilingual.

Procedure

  1. Create a report language variable.
  2. In the work area, select the object to modify based on a language.
  3. In the Properties pane, double-click the Style variable property.

    If you are changing the language of a text string, click Text source variable instead.

  4. Click Variable and click the language variable you created.
  5. In the Values box, select the languages for the condition to support and click OK.
    Tip: A default value exists for the variable, and it is always selected.
  6. Click the Conditional state icon Conditional state icon and a language for the variable.
    Tip: When you select a value in the condition explorer, the Explorer bar becomes green to indicate that conditional formatting is turned on and that any changes you make to the report apply only to the variable value.
  7. In the Properties pane, specify the formatting for the language.

    For example, to change the language of a text string, double-click the Text property and select the new string.

  8. Press Enter when you are done.
  9. Repeat steps 6 to 8 for all other languages specified for the variable.
    Tip: To view the report with no variables applied, pause the pointer over the condition explorer button and click (No variable) or triple-click the Explorer bar.

Results

When you run the report, the report objects to which you applied the variable are formatted according to the browser's language.