COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Report Studio => Topic started by: fshahul on 31 May 2013 04:20:03 AM

Title: Setting Up a Multilingual feature in my Cognos Reports
Post by: fshahul on 31 May 2013 04:20:03 AM
Hi,

Anyone can help me step by step process, how to setup/create a multilingual feature in Cognos Report Studio reports?

For example, if the user is running the report in Japanese language, then the report output should display in Japanese.

Version: Cognos 10.1.1
Model: Relational

Thanks
Title: Re: Setting Up a Multilingual feature in my Cognos Reports
Post by: blom0344 on 31 May 2013 05:44:07 AM
You can use  the locale() parameter to be used in Report Expressions with the report:

case Locale()
when 'en'
then 'somethingenglish'
when 'ja'
then 'somethingjapanese'
else 'somethingdefault'
end
If you want automatic label translation of model dataitems, then add user languages to the model. This works for dataitems used 'as is' within reports, as the labels are automatically displayed in the user's language setting.
Content can also be made multilingual, both within the model (parameter maps; lookup tabels) or within CASE expressions:

case when   # sq( $runLocale)#  = 'en' then [dataitem_en] when  # sq( $runLocale)# = 'ja' then [dataitem_ja] else  [default] end
Title: Re: Setting Up a Multilingual feature in my Cognos Reports
Post by: MFGF on 03 Jun 2013 06:37:35 AM
Quote from: fshahul on 31 May 2013 04:20:03 AM
Hi,

Anyone can help me step by step process, how to setup/create a multilingual feature in Cognos Report Studio reports?

For example, if the user is running the report in Japanese language, then the report output should display in Japanese.

Version: Cognos 10.1.1
Model: Relational

Thanks

The other important consideration is that Cognos does not translate data. You will only see Japanese data values displayed if you are holding these in your data source. Most of the setup to support multilingual data is done in Framework Manager - usually using macros or filters to bring in the relevant language descriptive items based on the user's locale setting.

Cheers!

MF.