Modifying the resource bundles
The Sterling Call Center application uses resource bundles that contain literals or text displayed on the screens.
The application enables you to customize and localize resource bundles based on the user's locale. In addition, the literals that are used in the customized screens have their own resource bundles that must be considered during the localization process.
For more information about literals, see the Internationalization.
If you have customized the application, you must also localize the customized literals. For more information about customizing the user interface of the application, see the Project Level Book Name Variables.
- Condition Builder
- Order/Shipment Monitor
- Hard-coded literals in APIs
wscliterals2translate.properties
) and backend
translation files (wscbundle.properties
). However,
the bundle files that contain the UI literals are provided in the
application EAR, in the <INSTALL_DIR>/repository/eardata/wsc/war/wsc/resources/bundle/nls
directory.
By default, the directory will contain the following bundle files
for English language.wsc_login_bundle.js
: Contains the literals used on the login screen.wsc_generated_bundle.js
: Works as an extension of thewsc_bundle.js
wsc_cust_message_bundle.js
: Contains the messages that the CSR can use to interact with the customer.wsc_csr_message_bundle.js
: Contains informative messages for the CSR.wsc_bundle.js
: This is the main resource bundle file and contains most of the UI literals.wsc_be_bundle.js
Contains backend literals.
The same bundle files for other languages will be available in
the relevant directory under <INSTALL_DIR>/repository/eardata/wsc/war/wsc/resources/bundle/nls
.
For example, de
, zh
, and so on.
You can localize the store associate messages by using the wsc_csr_message_bundle.js
file.
To localize the server application resource bundles, copy the ycdbundle.properties
from <INSTALL_DIR>/resources/
directory
and save it in <INSTALL_DIR>/resources/
directory
as ycdbundle_<language>_<country or region>.properties
.
For example, ycdbundle_en_US.properties
.
<INSTALL_DIR>/bin/deployer.sh -t resourcejar
<INSTALL_DIR>\bin\deployer.cmd -t resourcejar
Build and deploy the EAR package.