Using resource bundles to localize literals in RCP applications

All Rich Client Platform applications use a resource bundle that contains literals or text displayed on the screens. Rich Client Platform enables you to customize and localize resource bundles based on a user's locale.

In addition, literals used in customized screens have their own resource bundle and should also be considered during the localization process.

All Rich Client Platform application plug-ins contain bundle files named as <Plug-in_id>_<name>.properties. The bundle file contains <key>-<value> pairs, and specifies resources such as control text, string, and so on that have to be localized in the <Key> and the localized string or text in <value>.

Following is an example of <key>=<value>:

my_name=Rich Client Platform Application

The resource bundles of a Rich Client Platform application are located in its archive file.

For example, the resource bundle for the Sterling Call Center and Sterling Store PCA is located in the <INSTALL_DIR>/repository/rcp/rcpclient/com20.zip file.

Extract files from the com20.zip file to the <extracted_files> directory of your choice. Navigate to the following directory:

<extracted_files>/plugins/com.yantra.pca.ycd.rcp_<version>

Within this directory, there is a com20.jar file. The bundle files are in the root directory of this JAR file and are called com.yantra.pca.ycd_bundle.properties and com.yantra.pca.ycd_Messages_bundle.properties.