raphy Posted August 24, 2006 Share Posted August 24, 2006 Hello!I am newbee to JasperReport, My question is how to set JasperViewer toolbars' tooltip text to french language? Thanks for your replyRaphy Link to comment Share on other sites More sharing options...
teodord Posted August 24, 2006 Share Posted August 24, 2006 Hi, You supply the locale as the forth parameter of the viewReport() method.Check the supplied /demo/samples/i18n sample. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
raphy Posted August 24, 2006 Author Share Posted August 24, 2006 Hello Thanks for your prompt reply.I have tried this but the tooltip text always in english! JasperViewer.viewReport(jasperPrint, true, new java.util.Locale("fr", "CH", "")); Link to comment Share on other sites More sharing options...
teodord Posted August 24, 2006 Share Posted August 24, 2006 Hi, Well, we don't have a resource bundle in the JAR for Swiss-French, only for France-French.You either use that or make your own viewer_fr_CH.properties file and put it in the classpath. I hope this helps.Teodor Link to comment Share on other sites More sharing options...
raphy Posted August 24, 2006 Author Share Posted August 24, 2006 I have the same problem with this code:JasperViewer.viewReport(jasperPrint, true, new java.util.Locale("fr", "FR", ""));Thanks for your helpRaphy 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