Property value referenced in a field value is not localized
Property value referenced in a field value is not localized.
Steps to Reproduce
- Configure a field value that references a property
- Run the flow. In a subsequent screen, the field values are displayed in English.
- Switch to a different language
- Run the flow. The field values does not display in the set language
Localizing a property value that is referenced in a field value is not supported in the product by default.
Perform the following local-change:
- Create a non-auto generated control, for example, LocalizationControl, and add the below code:
/* Body of LocalizationControl control starts */
ClipboardProperty cp_active = tools.getActive();
String localizedValue = tools.getLocalizedTextForString("pyCaption" , cp_active.getStringValue());
/* Body of LocalizationControl control ends *
- Change the existing field value to use the custom control along with the property reference