Troubleshooting
Problem
Attempts to run getCommonCodeList API in HTTP API tester by using non-English locale user returns the values for CodeShortDescription & CodeLongDescription in English in IBM Sterling Order Management.
Symptom
Steps to reproduce:
- Install the language packs for French and Germany and run the appropriate scripts to populate the YFS_LOCALIZED_STRINGS table.
- Create a user with French locale and login to Application Console.
User is able to see the French Language on the Application Console.
- As an admin user, create a few common codes in Application Platform and also ensure that the database contains localized values for CodeShortDescription and CodeLongDescription for these common codes.
- Now, call getCommonCodeList API via HTTP API Tester,
It returns data in English for CodeShortDescription and CodeLongDescription instead of data in localized language.
Cause
API tester will not display localized values in the output.
Resolving The Problem
This is working as designed. Localized values will be displayed on the user interface when any API is invoked from the user interface. The API does not return localized values, it returns values as per the base locale (for example, English). When this data is displayed on the user interface like console ui, or sbc ui or COM RCP ui etc, then the ui framework replaces values from the API output to the correct localized values. In other words, API tester will not display localized values in the output.
The username/password entered are used solely for authentication and authorization in APItester.
Was this topic helpful?
Document Information
Modified date:
10 May 2022
UID
swg21699041