Support for bidirectional languages

You can author reports that support bidirectional languages. You can specify base text direction, digit shaping, and container direction.

Arabic, Hebrew, Urdu, and Farsi are languages written from right to left, using the Arabic or Hebrew scripts. However, numbers in those languages, as well as embedded segments of Latin, Cyrillic, or Greek text, are written from left to right. Using the bidirectional settings in IBM® Cognos® Analytics - Reporting, you can control the direction in this type of text in reports.
Note: Arabic is not supported as a report language for report authoring. That is, you can't author a report in Arabic but if a report contains data that is in Arabic, the Arabic data is displayed. For more information about languages used in reporting, see Language settings.

Report formats

Bidirectional languages are supported for reports produced in HTML, PDF, and Microsoft Excel. IBM Cognos Active Report also supports bidirectional languages.

Enabling bidirectional support

To enable support for bidirectional languages when a report is run, in the IBM Cognos Analytics with Watson portal, users must open their Update profile and settings page and select the Bidirectional language support check box.

To enable support for bidirectional languages when a report is run from Cognos Analytics - Reporting, select the Enable bidirectional support check box in the Run options window.

Tip: If you enable bidirectional support in the Cognos Analytics portal and you then start Cognos Analytics - Reporting, the bidirectional support run option in Cognos Analytics - Reporting is selected. If you disable bidirectional support in the Cognos Analytics portal and you then start Cognos Analytics - Reporting, the run option in Cognos Analytics - Reporting is cleared.

Base text direction

Base text direction sets the text direction as left-to-right or right-to-left. You can specify the base text direction for any text object in a report. You specify the base text direction for text by clicking the Direction & justification property for the text or for the object that contains the text, such as a list column.

A contextual option also exists in the Direction & justification property that sets the text direction based on the first letter in the text.

For compound objects that contain text, you specify the base text direction of the text contained in the object by clicking the Contained text direction property for the object. Examples of compound objects are charts, prompts, and active reports.

Digit shaping

Digit shaping allows users to consume reports with numbers that they can read after they select the content language in the Cognos Analytics portal. You can specify digit shaping at the following levels:

  • Report
  • Container (except for charts and maps)
  • Text
  • Number

You specify digit shaping for an object by clicking the Data format property for the object. To specify digit shaping at the report level, click the report property Data formats.

Tip: Digit shaping has no impact on reports produced in Excel format, since the shaping of digits in Excel depends on Windows regional settings.

Container direction

Container direction sets the direction of container objects in a report as left to right or right to left. You specify container direction for an object by clicking the Direction & justification property for the object.

Tip: Container direction is not supported in reports produced in Excel format. Excel spreadsheets do not natively support mirroring at the container level.