Multilingual Jasper Report Using Grail

How can I create a Jasper report with multiple languages ​​using Grails?

I am using Jasper plugin to generate a report. I tried to use ${R.Resource}

, but I can't keep track of the exact path where the file should be placed .property

.

+3


source to share


1 answer


editing report, in xml you can specify resouce border containing .properties. To do this, you must put your file location in the resourceBundle

tag attribute . for example if placed under the package your xml should look like this:jasperReport

.property

org.mycomp.gui

 <jasperReport xlsns......   resourceBundle="org/mycomp/gui ......>

      



in this package you will have, for example gui.properties

, gui_en.properties

etc.

hope this help

+1


source







All Articles