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

Shortcut key on section button labels is not localized

SA-11589

Summary



A section contains a button with shortcut key option. When the application is localized, shortcut keys button labels are not localized. The button label appears with "&" symbol instead of the short cut key.

User implemented the use case as per PRPC 6.2 Help file:
https://pdn.pega.com/sites/default/files/help_v62/procomhelpmain.htm#rule-/rule-html-/common/commonlaybutton.htm?
  
When you plan to localize the application that includes this rule, so the application can support users in various languages or locales, choose the text carefully and limit text length to 64 characters. A field value rule with pyButtonLabel as the second key part and this text as the final key part is needed for each locale. You can define a shortcut key in each language by including an ampersand character before a letter in the Localized Label field. When practical, choose a caption already included in a language pack, to simplify later localization.


Error Messages



Not Applicable

Steps to Reproduce



1. Remove the shortcut key in the original button label.
2. Add shortcut key in the actual localized button label field value.
3. Verify the screen. Observe that it displays button label with "&" symbol, instead of shortcut key.


Root Cause



The root cause of this problem is a defect in Pegasystems’ code/rules. 

Resolution



This issue is resolved by HFix-22354.

Published July 15, 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?

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