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
- Install German language pack.
- At browser level mention German locale
- Log in to PRPC 6.3 SP1 system
- Open the audit trail of any work object
- 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.
Published June 12, 2015 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.