Question

Localization for the dropdown values which comes from the web service

Hi,

We have an requirement of localizing drop down values which are coming as a response from soap service.

For example If a user clicks on French button then all the drop down values of a form should be converted from English to French.

Correct Answer
October 31, 2018 - 11:32am

You cannot directly get the localized values. 

You need to create field values for those or after loading the data from service, set the localized values onto a property. In the drop down based on user selection use the localized property or regular property value.

Comments

Keep up to date on this post and subscribe to comments

Pega
September 19, 2018 - 9:58am

Hi,

I think the better option would be to have two data set with localized and non-localized value. Based on which locale the application is using, the WHEN condition should evaluate and ask for that data. 

So if French is being used then, a property should be passed and application should ask for the localized data.

Thank you.

Pega
October 31, 2018 - 11:32am

You cannot directly get the localized values. 

You need to create field values for those or after loading the data from service, set the localized values onto a property. In the drop down based on user selection use the localized property or regular property value.