Running NLS reports/dashboards
When you have NLS edited for a report or library component on the JReport Administration page, or have an NLS report or library component published to the server from JReport Designer, you can then run the report or dashboard that contains the library component in the specified languages.
Directly running NLS reports/dashboards
To directly run an NLS report/dashboard in a specified language, follow the steps below:
- On the JReport Console page, Click Profile on the system toolbar, then click Customize Server Preferences on the task bar of the Profile page.
- Select the Advanced tab, check Enable NLS and choose the language from the Default Language drop-down list, in which you want the NLS report/dashboard to display by default, then select the corresponding encoding from the Default Encoding drop-down list.
- Click OK to save the changes.
- Click Resources on the system toolbar to switch to the Resources page.
- Browse to the report/dashboard you want to run and click its name. The report result will then be displayed in the language you have specified.
Running NLS reports in Advanced mode or by scheduling
Before you can advanced run an NLS report or schedule to make an NLS report run in a specified language, you need to first make sure that the NLS feature is already enabled for the report by the administrator.
To enable NLS for a report:
- On the JReport Administration page, click Resources on the system toolbar and select Resources from the drop-down menu.
- In the Resources panel, browse to the report, then click its Properties button in the Control column.
- In the Properties dialog, check the National Language Support option, then click OK to confirm.
To run an NLS report in a specified language in Advanced mode:
- On the JReport Console > Resources page, browse to the report you want to run, put the mouse pointer over the report row and click the Advanced Run button on the floating toolbar.
- In the Format tab, select the Enable NLS checkbox, choose the language from the Using Language drop-down list, then select the corresponding encoding from the Encoding drop-down list.
- Finish the other related options and click Finish to run the report. The report result will then be run in the selected language.
To schedule an NLS report to make it run in a specified language:
- On the JReport Console > Resources page, browse to the report you want to schedule, put the mouse pointer over the report row and click the Schedule button on the floating toolbar.
- In the General tab, select the Enable NLS checkbox, then choose the language from the Using Language drop-down list, select the corresponding encoding from the Encoding drop-down list.
- Finish the other related options and click Finish to perform the task. The report result will then be run in the selected language.