JReport allows you to edit NLS for each report or library component 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 or library component into different languages from the original one. This feature is provided to administrators only.
To edit NLS for a report or library component 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/library component 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 just specified to the global NLS library of the target language. If some of the display items already exist in the global NLS library, the Add to Global NLS dialog will appear for you to handle the duplication.
, then in the Add Format dialog, where all the formats used in objects of the report/library component 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/library component 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 just specified to the global NLS library of the target language. If some of the font items already exist in the global NLS library, the Add to Global NLS dialog will appear for you to handle the duplication.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.