Localize Custom Report Literals

About this task

The IBM® Sterling Warehouse Management System enables you to create custom reports and localize them.

To localize custom report literals, in the <YNW_ANALYTICS_HOME>/bin folder:

Procedure

  1. Save the extended resource bundles as <YNW_ANALYTICS_HOME>/resources/extn/extnbundle_<language>_<country>.properties.

    For example, ycrnbundle.properties should be saved as ycrnbundle_fr_FR.properties.

  2. Execute the following command:
    ant -f  ycrnlocalizer.xml import

Results

This command reads all the bundles in the <YNW_ANALYTICS_HOME>/resources folder. It then adds the literal translations for each locale into the report definitions present in the <YNW_ANALYTICS_HOME>/reports folder. The modified report definitions are copied into the <YNW_ANALYTICS_HOME>/localizedreports folder, and also added into the content repository. When the reports are generated again, the literals are displayed according to the user’s locale.