Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Field values not localized

SA-94241

Summary



In Pega Platform 8.3, the following issues related to field value localization occurs:
  1. The 'Value cannot be blank' field value is not translated to Chinese despite adding the converted field value to the localized ruleset.
  2. The 'Select...' placeholder in the Category dropdown of the Data-WorkAttach-File!pzAttachFileBrowseMultiDD_P section, is not translated to Chinese. This occurs despite creating a field value for 'Select..' in the localized ruleset.


Error Messages



Not Applicable


Steps to Reproduce



Issue 1:
  1. Drag a text input and configure it as Required.
  2. Create a field value for 'Value can not be blank' in localized ruleset.

Issue 2:

Create a field value for 'Select..' (placeholder in the Category dropdown) in the localized ruleset


Root Cause



An issue in the custom application code  or rules.

Since multiple localized ruleset versions were present, the field value was created in a lower ruleset version. As a result, the correct field value was not retrieved.



Resolution



Perform the following local-change: Issue 1:
  1. Create the field values in Highest localized ruleset version.
  2. Add the below script in the UserWorkForm.

    <script>
      var required_requiredMsgStr = "<pega:lookup property='pyWorkPage.pyMessageLabel' value='Value cannot be blank' mode='literal' />";
    </script>
Issue 2: 
  1. Create a field value for 'Select..' for the pyCaption property type in the Data-WorkAttach ruleset.
  2. Save the field value in the highest ruleset version.

Published January 17, 2020 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us