开发者

JasperReports: How to display multi language on one page and same as label

开发者 https://www.devze.com 2023-02-06 03:14 出处:网络
I want to display 2 or more language on one page and same as label or text fiel开发者_高级运维d. Please help me for provide solutions for solve this problem.You can define a resource bundle (.properti

I want to display 2 or more language on one page and same as label or text fiel开发者_高级运维d. Please help me for provide solutions for solve this problem.


You can define a resource bundle (.properties) file for your report. Have entries in the bundle for each language you want to display, then pass them to the text fields as $R{key}. In iReport, select File/New then from the list of options select Resource Bundle. Entries are key:value pairs. The key is what goes in the text field as $R{key} and the value is displayed.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号