JReport allows you to edit NLS for each report on the Administration page of JReport Server as the report designer would with the NLS Editor in JReport Designer. With the NLS Editor, you can translate a report into different languages from the original one. Note that this feature is provided to administrators only.
To edit NLS for a report on JReport Server:
in the Control column. The NLS Editor dialog appears. See the dialog.
above the Language box.
, then in the Add Display dialog, where all the display text in the report are listed, add the display text you want to translate and click OK. Then, enter all the corresponding target language text in the Translate column. If you have defined global NLS for the target language, you can also click Fetch from Global NLS to fetch the corresponding display information. If required, click Add to Global NLS to add the display information you specify for the report to the global NLS library of the target language.
, then in the Add Format dialog, where all the formats used in objects of the report are listed, add the formats you want to customize and click OK. Then, provide the corresponding format in the Format column for the target language.
, then in the Add Font dialog, where all the fonts used in objects of the report are listed, add the fonts you want to customize and click OK. Then, give the font face and font size you want for the target language in the Font Face and Font Size columns. If you have defined global NLS for the target language, you can also click Fetch from Global NLS to fetch the corresponding font information. If required, click Add to Global NLS to add the font information you specify for the report to the global NLS library of the target language.See also the NLS Editor dialog for detailed explanation about options in the dialog.
Notes:
-Djreport.url.encoding=UTF-8 to the batch file that starts the server and then restart it. This changes the encoding to Unicode which supports all languages.