To localize 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.
For example, if you want to localize the application for France in French language, copy bundle-index to the bundle-index_fr_FR file.
The bundle-index file is localized. After this, perform the post-localization steps on the client side.