Localizing the bundle-index file
You can localize the bundle-index file so that it reflects the settings for your specific locale.
About this task
To localize the bundle-index file:
Procedure
- If you are customizing the System Management
Administration Console, you must generate the bundle-index file.
Therefore, run the following script in
<INSTALL_DIR>/binto extract the literals from the bundle JavaScript files to thebundle-indexfile:For Windows:
sci_ant.cmd -f jsUtil.xml bundle.index -Dsourcedir=<INSTALL_DIR>/repository/eardata/sma/war -Dindexdir=<INSTALL_DIR>/ repository/eardata/sma/localization_indexwhere
-Dindexdiris 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 _indexwhere
-Dindexdiris the output directory.A new folder, localization_index, containing the bundle-index file is created in the -Dindexdir directory.
- 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-indexto thebundle-index_fr_FRfile. - Edit the
bundle-index_<language>_<country>file with the translations, and save the file.The
bundle-indexfile is localized. After this, perform the post-localization steps on the client side.Note: Ensure that you run the script in thebundle.indexmode for the Web UI Framework files.