Question

How can we localize MultiSelect options?

Hi, we are using Multiselect to dispkay pyStatusWork values to customers. By the way, while localizing field values works in every part of the application, we are not able to show italian values within the multiselect list of options and multiselect selected options. Can anyone suggest us how to handle this? Thanks, Vince

***Edited by Moderator Marissa to update platform capability tags****

Comments

Keep up to date on this post and subscribe to comments

Pega
October 14, 2019 - 3:03am

Did you try creating field values for those entries (with field name as pyCaption) ?

October 14, 2019 - 3:23am
Response to dangs

Hi Dangs, we have created field values as pyCaption but it does not work. I have created them in the same class of the sourcing pagelist property, should they belong to the class of the target pagelist property?

Thanks

Pega
October 14, 2019 - 4:08am
Response to Vicio.Pi

Yes. Recently we  have tried with dropdown values by creating the field values in the class of target pagelist property and it worked.

October 14, 2019 - 4:41am
Response to dangs

Ok but...with dropdowns it works. The problem is with multiselect, which seems to be slightly different. I have just tried to create field values in @baseclass and Data-Portal (the target pagelist's class) classes but without results.

October 17, 2019 - 1:01pm
Response to Vicio.Pi

As an update, we have also created field values for pyStatusWork, but even here, without success.

October 28, 2019 - 6:29am
Response to Vicio.Pi

This is an expected behaviour, Since the value that you see in the results is what is selected and populated to the target property as well for this reason that isn't localized. This is the same behaviour as autocomplete control where the result value (seen) is directly stored to the target property too. In case of dropdown the property value for display in result is different for the property value you store in the target property, hence that is localized. NOTE: Multi-Select control allows to select values in the same ways as Autocomplete control does so it is not "blocked" list of values.