Localization of birt reports and localization of birt reports

Source: Internet
Author: User

Localization of birt reports and localization of birt reports

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.


Emergency support: birt report problems

Normally, the first report displays all the content of a dataset or the content of multiple datasets. I don't know how you do it at ordinary times. I hope you can describe the problem in detail. As follows:
1. Are "2012-10-26", "2012-10-27", and "2012-10-28" in a data set, or in a database table?
2. A report may have many elements, such as multiple table components. What do you mean by "one report?

Data merging in birt reports

In the case of birt, three SQL statements are required for a table, right? Horizontal or vertical?
Split him into three lists, and put them in the back,
Have birt nesting ever been used? This can also solve some problems.
In the end, there is no way to write the stored procedure.
Extract the data to a table suitable for this list, and then complete the SQL statement.

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.