BackPrevious Page Next PageNext

Editing Local NLS

JReport allows you to edit NLS for each catalog, report or library component as the report designer would with the NLS Editor in JReport Designer. With the NLS Editor, you can translate a catalog, report or library component into different languages from the original one. This feature is provided to administrators only.

To edit NLS for a catalog, report or library component on JReport Server:

  1. Start JReport Server and log onto the JReport Administration page.
  2. In the resource tree, browse to the catalog/report/library component for which you want to edit NLS.
  3. Select the row that the catalog/report/library component is in, then click the NLS Editor button NLS Editor button in the Control column. The NLS Editor appears.

    NLS Editor dialog

  4. Specify a report/component if you are editing NLS for a report/library component and catalog version as required.
  5. Click the Add button Add button above the Language box.
  6. The selected languages are now listed in Language box of the NLS Editor dialog. Select a target language from the box to edit NLS for it.
  7. In the Display tab, click Add button, then in the Add Display dialog, where all the display text in the catalog/report/library component are listed, select the keys you want to translate and enter the target language text for the keys in the Translate column, then click OK. The selected keys are now listed in the Display tab of the NLS Editor. You can further edit the translation for the keys here if required. Click Add to Global NLS to add the display information you just specify to the global NLS library of the target language if you want to reuse them later. If some of the keys already exist in the global NLS library, the Add to Global NLS dialog appears for you to handle the duplication.
  8. Switch to the Format tab, click Add button, then in the Add Format dialog, where all the formats used in objects of the catalog/report/library component are listed, select the keys you want to customize and provide the target language format for the keys in the Format column, then click OK. The selected keys are now listed in the Format tab of the NLS Editor. You can further edit the format for the keys here if required. Click Add to Global NLS to add the format information you just specify to the global NLS library of the target language if you want to reuse them later. If some of the keys already exist in the global NLS library, the Add to Global NLS dialog appears for you to handle the duplication.
  9. Click the Font tab, click Add button, then in the Add Font dialog, where all the fonts used in objects of the catalog/report/library component are listed, select the keys you want to customize and give the target language font face and font size for the keys in the Font Face and Font Size columns, then click OK. The selected keys are now listed in the Font tab of the NLS Editor. You can further edit the font face and font size for the keys here if required. Click Add to Global NLS to add the font information you just specify to the global NLS library of the target language if you want to reuse them later. If some of the keys already exist in the global NLS library, the Add to Global NLS dialog appears for you to handle the duplication.
  10. Select another language and edit NLS for it as shown above.
  11. Click OK to accept the settings.

Notes:

BackPrevious Page Next PageNext