Running a Localized Report

In this procedure, you run the Romanian version of the complex report that you added in Uploading Undetected File Resources.

To run the Romanian version of the complex report:

1. Choose the Romanian locale on the login page of the server, and login as an administrator.
2. Click View > Repository, and navigate to Organization > Reports.
3. Click the name of the complex report, New Complex Report. The Input Controls dialog appears.
4. Enter input control values:
a. Text Input Control: 3
b. Check Box Input Control: Check the check box.
c. List Input Control: Select Third Item.
d. Date Input Control: Click and select March 31, 2010.
e. Query Input Control: Select Sarah Smith from the drop-down.
f. Click OK.

The fields in the title band and column names (sales person, sales account, and sales amount), shown in “A Report Localized for the Romanian Locale”, appear in the language set by the Romanian resource bundle sales_ro.properties:

title=Raport al v\u00E2nz\u0103rilor lunare
sales.person=Agent de v\u00E2nz\u0103ri
sales.account=Client
sales.amount=Sum\u0103
param.number=Num\u0103r
param.date=Dat\u0103

The currency and dates in the report output header map to Romanian locale settings.

A Report Localized for the Romanian Locale

By default, the web interface elements appear in US English when you choose an unsupported locale, such as the Romanian locale. If you choose a supported language, the web interface elements appear in that language. Supported languages are Chinese (Simplified), French, German, Japanese, and Spanish. You can customize the server to support additional languages. You can translate the web interface into a different language, server property names, and messages in another language. For some locales, you may also need to change the default locale and time zone. For more information about localizing the server, see the JasperReports Server Administrator Guide.