Localization of Birt reports

Source: Internet
Author: User

1. localized Eclipse:

This Chinese is relatively simple to go to http://download.eclipse.org/birt/downloads/lang.php? Build = R-R1-2_2_2-200802271210 to download their corresponding version of the Chinese package, and then according to the standard Eclipse plug-in installation method. The installation process will not be described in detail. If you need it, you can go to Baidu. There is a lot of information on the Internet.

2. display Chinese on the page:

A. find the Chinese plug-in package you just installed, go to the Plugins directory, and find a file named "Org. eclipse. birt. report. viewer. nl_zh _*. jar (* indicates the version number), decompress the package, and obtain a messages_zh.properties file under the/org/Eclipse/Birt/report/Resource Directory, this file is a Chinese file.

B. find the Birt Runtime Library directory, that is, the default Birt-runtime-* directory, and then go to/webviewerexample/WEB-INF/lib to find the name "viewservlets. open the jar package by using the compression tool (do not decompress) and go to the/org/Eclipse/Birt/report/Resource Directory. Here a messages is found. properties file. This is the Language Pack configuration file of Birt.

C. rename the "messages_zh.properties" obtained in step 1 to "messages. properties, and then use the "add" button of the compression tool to add this file to "viewservlets. JAR file (you need to click "Overwrite"). The purpose of this step is to replace the English configuration file with the Chinese configuration.

D. Add the modified viewservlets. jar file to the project, or overwrite the original viewservlets. jar file to compile Birt on the client.

3. Copy the webviewerexample directory to the Tomcat working directory or replace viewservlets. jar with the corresponding file of your own application. Open the browser and run it.

Localization of Birt reports

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.