Localizing the bundle-index file

About this task

To localize the bundle-index file:

Procedure

  1. If you are customizing the System Management Administration Console, you must generate the bundle-index file.

    Therefore, run the following script in <INSTALL_DIR>/bin to extract the literals from the bundle JavaScript files to the bundle-index file:

    For Windows:

    sci_ant.cmd -f jsUtil.xml bundle.index
    -Dsourcedir=<INSTALL_DIR>/repository/eardata/sma/war -Dindexdir=<INSTALL_DIR>/
    repository/eardata/sma/localization_index 

    where -Dindexdir is the output directory.

    For Linux/UNIX:

    ./sci_ant.sh -f jsUtil.xml bundle.index -Dsourcedir=<INSTALL_DIR>/repository/
    eardata/sma/war -Dindexdir=<INSTALL_DIR>/repository/eardata/sma/localization
    _index

    where -Dindexdir is the output directory.

    A new folder, localization_index, containing the bundle-index file is created in the -Dindexdir directory.

  2. Copy bundle-index to the bundle-index_<language>_<country> file pertaining to the locale.

    For example, if you want to localize the application for France in French language, copy bundle-index to the bundle-index_fr_FR file.

  3. Edit the bundle-index_<language>_<country> file with the translations, and save the file.

    The bundle-index file is localized. After this, perform the post-localization steps on the client side.

    Note: Ensure that you run the script in the bundle.index mode for the Web UI Framework files.