I want to translate english report into spanish.....

0

Hi Team,

 

I would like to know How can I create repport localization in jasper studio to avoid translating report into different language versions.

monika.sudam.mali's picture
Joined: Feb 26 2019 - 6:44am
Last seen: 1 month 4 days ago

2 Answers:

0

Reports in Studio ship with a REPORT_LOCALE parameter, what first comes to my mind is maybe you can use it to create conditional expressions.

rodrigo_43's picture
Joined: Apr 26 2019 - 4:15pm
Last seen: 1 week 5 days ago
0

I guess (not tried) you could use the $R{ResourceName} Syntax in your Report instead of static texts. IMHO the $R{..} Expressions uses i18n resources, that you could easyly create outside the report for different languages. The REPORT_LOCALE and the RESOURCE_BUNDLE will than decide what properties file is used for the given language.

Perhaps you should also take a look here: https://community.jaspersoft.com/documentation/jasperreports-server-user-guide/localizing-reports

hth + regards

C-Box

C-Box's picture
2204
Joined: Jul 19 2006 - 5:58pm
Last seen: 26 min 9 sec ago
Feedback
randomness