ajmas Posted February 12, 2010 Share Posted February 12, 2010 I am developing an application that includes the printing of bills for customers. The customers can opt to have the bills print in their language of choice. The interface I have presents a list of bill to be printed for different customers, and the user can then select multiple bills to be printed and these bills each need to be printed in the appropriate language. Can anyone suggest to me how to achieve this in JasperReports? Also what is the best way to go about making the report templates localizable? keywords: localisation, localization, multi-lingualPost Edited by ajmas at 02/12/2010 17:48 Link to comment Share on other sites More sharing options...
asejas Posted February 12, 2010 Share Posted February 12, 2010 For the text, you should use java resource bundle and setting the REPORT_LOCALE dinamically (when you ran the report).You can see the "Internacionalization" section in the jasper reports tutorialhttp://jasperforge.org/website/jasperreportswebsite/trunk/tutorial.htmlFor numbers formatting, you should use patterns int he textFields. Regards. Alvaro Link to comment Share on other sites More sharing options...
ajmas Posted February 12, 2010 Author Share Posted February 12, 2010 Will this apply to the whole batch or, per report?I forgot to mention that the reports will need to be presented in the preview dialogue for the user to print or save them.Post Edited by ajmas at 02/12/2010 19:57 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