How to create multi language Jasper report using Grails?
I am using Jasper plugin to generate report. I tried using ${R.Resource}
but I am unable to track exact path where .property
file should be placed.
editing the report, in the xml you can specify the resouce boundle containing the .properties. To do that you must put in the attribute resourceBundle
of the jasperReport
tag the location of your .property
file/s.
for example, if they are placed under the packege org.mycomp.gui
your xml should look like:
<jasperReport xlsns...... resourceBundle="org/mycomp/gui ......>
in that package you will have for instance gui.properties
, gui_en.properties
and so on
hope this help