IBM Support

OOB drop down values not getting translated according to user locale

Troubleshooting


Problem

Attempts to install french Locale does not translate carrier and order by drop down values french in IBM Sterling Store Web,

Cause

These problems are often seen when either language pack is not applied properly or when language pack factory defaults and translations are not run.

Resolving The Problem

Steps to resolve:

  1. Install French language pack both for Foundation and Webstore.

  2. Run the below command to load Sterling Order Management language pack factory defaults.

    > loadDefaults.cmd <Install_Dir>/repository/factorysetup/complete_installation/fr_FR_locale_installer.xml <Install_Dir>/repository/factorysetup/complete_installation/XMLS

  3. Run the below command to load language pack translations

    > sci_ant.cmd -f localizedstringreconciler.xml import -Dsrc=<INSTALL_DIR>repositoryfactorysetupcomplete_installationXMLS -Dbasefilename=ycplocalizedstrings

  4. Load localized Sterling store factory setup data as below -

    > sci_ant.cmd -f localizedstringreconciler.xml import -Dbasefilename=wscliterals2translate -Dsrc=<INSTALL_DIR>/repository/factorysetup/COM/XMLS

  5. Build resources.jar
    > deployer.cmd -t resourcejar

  6. Add the below property in customer_overrides.properties file
    yfs.yfs.api.output.displaylocalized=true

    You should now see entries in YFS_LOCALIZED_STRINGS table corresponding to French locale.

  7. Rebuild ear/war as applicable and deploy.

  8. Create a new user and assign french locale to it.

  9. Login to webstore with this new user. You would now see localized values in drop down menus.

[{"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"Sterling Store","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF003","label":"Android"},{"code":"PF014","label":"iOS"},{"code":"PF016","label":"Linux"},{"code":"PF033","label":"Windows"}],"Version":"9.4;9.5","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
16 June 2018

UID

swg22006865