Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Localization of BIRT report using JAR files
walnash
I want to localize report generated from BIRT using .jar files instead of using .properties files. My jar file will access a DB (SQL server) which will return it the key value pairs for localisation. Can anybody help me with this and tell me how can i achieve this using a jar file. What should my jar file contain and how will my report use it?
Find more posts tagged with
Comments
walnash
After some research, i m able to localize my report without a property file. I made use of the BIRT events and wrote a java class event handler to change the text of the report headers.
But i also have to localize the report parameters and i can't find any events associated with the report parameters which i can use to change the text of the report parameters. Can anyone let me know if there are any events for the parameters that i can use? I want to change the text of the parameters before they are displayed to the user for entering the value.
Avinash
bipz123
how localization possible in java??
bipz123
I need a immediate reply with detail description.
walnash
You can make use of the report label events to change the text of the labels during run time. you can either write a javascript to do this or a simple java class which extends the label events class. Check 'setting lables' in this link:
http://www.eclipse.org/birt/phoenix/deploy/reportScripting.php
here you can find how to write the javascript and the java class both (see writing java events). Hope this will help.