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

Localization:Complete task is not translated in Audit screen

SA-8909

Summary



Localization - Complete task is not translated in Audit screen.

Error Messages



Not Applicable

Steps to Reproduce

  1. Install German language pack. 
  2. At browser level mention German locale 
  3. Log in to PRPC 6.3 SP1 system
  4. Open the audit trail of any work object 
  5. Check the description, complete task is not translated properly.

Root Cause



Localization support does not exists for "Complete Task"  text.

Resolution



1. Customize the InstructionsLookup  control with below code:

<pega:choose>
<pega:when test='$this-value != ""'>

<pega:lookup className="Rule-Obj-FieldValue" property="pyLocalizedValue"> 
    <pega:key name="pyClassName" value="@baseclass" />
    <pega:key name="pyFieldName" value="pyInstructions" />
    <pega:key name="pyFieldValue" ref="$this-value" />
</pega:lookup>

</pega:when>
<pega:otherwise>
    <pega:lookup className="Rule-Obj-FieldValue" property="pyLocalizedValue"> 
    <pega:key name="pyClassName" value="@baseclass" />
    <pega:key name="pyFieldName" value="pyInstructions" />
    <pega:key name="pyFieldValue" value="complete task" />
</pega:lookup>
</pega:otherwise>
</pega:choose>


2. Save as "Complete Task" field value with Applies To class as baseclass and in application ruleset with pyInstructions as field name.
Suggest Edit

Published June 12, 2015 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

Have a question? Get answers now.

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

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