jbo_master Posted June 16, 2009 Share Posted June 16, 2009 Hello @ all,I have a question regarding localization /i18n of subreports.Is it possible to localize a subreport?I just tried it but without success. :( Link to comment Share on other sites More sharing options...
lucianc Posted June 16, 2009 Share Posted June 16, 2009 Yes, it's possible.What did you try?Regards,Lucian Link to comment Share on other sites More sharing options...
shivareddyk Posted June 16, 2009 Share Posted June 16, 2009 hi lucianc, Could u tell me how to add .jsp file to our jasperserver? Link to comment Share on other sites More sharing options...
jbo_master Posted June 16, 2009 Author Share Posted June 16, 2009 What I try: First I defined a Resource Bundle on the Main-Report settings. In my case Test. The I have created two property files called Test.properties and Test_de_DE.properties and placed some strings into these files. For example text.titlemessage = This is a test title message ... After that I dropped a textfield onto my subreport with the following Text Field Expression: $R{text.titlemessage} All files are in one and the same folder. I started my main-report and it shows the value $R{text.titlemessage} instead of the defined message of the properties file? Any suggestions? Link to comment Share on other sites More sharing options...
jbo_master Posted June 17, 2009 Author Share Posted June 17, 2009 That was my mistake. I placed the $R{FOO} on a lable instead of a TextField. ;) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now