Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Birt Viewer localization for Czech and Russian
RaviV
Hi,
As part of one of our wars, I have bundled birt runtime, as explained in the tutorial. The idea is to allow the user to run birt reports from a web page. This works for English. Yesterday I downloaded language pack NLPack1, integrated it into the war and now French, German etc all work. My question is with NLPack2. The structure of NLPack2 is so different compared to NLPack1, I am not sure how to integrate it. From NLPack1, I extracted org.eclipse.birt.report.viewer.nl1_2.3.0.v20080922-1151.jar, org.eclipse.birt.report.engine.nl1_2.3.0.v20080922-1151.jar etc and added it to web-inf/lib. What should I do for NLPack2, NLPack2a etc so I can integrate other languages. I am using Birt 2.3.1, therefore I downloaded NLPack1 2.3.1 and NLPack2 2.1.1
Thanks.
Find more posts tagged with
Comments
RaviV
in nlpack1, there is a jar org.eclipse.birt.report.viewer.nl1_2.3.0.v20080922-1151.jar, which has Messages_de_DE.properties in the path org.eclipse.birt.report.resource. I expected a similar kind of a jar, same path and files like Messages_ru.properties or Messages_cs.properties - this I am not seeing in nlpack2. Am I missing something? Any info will be appreciated.
Thanks.
Virgil Dodson
For NLPack2, open the ZIP, navigate to the WebViewerExample/WEB-INF directory. There are two folders in there, lib and platform. Just copy those to the WEB-INF folder where you BIRT viewer is deployed and these extra files will be added. If you dig deeper into the lib directory, you will see nl2.jar which contains the _ru, _hu, _cs and _pl files.