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 of expand/collapse icon tooltip



Requirement to translate the tooltip of the expand/collapse icon in a collapsible dynamic layout.
And also to create two Field Values "Click to expand" and " Click to collapse", both with Field Name: pyActionPrompt and Apply to: @baseclass

When user reach the formvery first expand-tooltip is translated correct, but when user expands the section and observes the collapse-tooltip it looks like "Click to collapse <your translation here>".
When user collapse the section the expand-tooltip is no longer correct and looks like "Click to expand <your translation here>".

Error Messages

No Error-Message, but Tooltips of the Expand- and Collapse-Icon appear in english with wrong text.

Steps to Reproduce

Mentioned above

Root Cause

The root cause of this problem is a defect in Pegasystems’ code/rules and is scheduled to be addressed in Pega 7.1.8.


This issue is resolved through the following Local-change:

Include the following script in UserWorkForm to resolve the issue:

pega.u.d.attachOnload(function() { 
gStrClickToExpandText = "<your tnslation here>"; 
gStrClickToCollapseText = "<your tnslation here>"; 
}, false); 

Published June 12, 2015 - Updated October 8, 2020

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