Question
2
Replies
269
Views
Posted: August 7, 2018
Last activity: August 8, 2018
Closed
Solved
Translate Combined Text
Hi,
I am trying to translate a header of section. This header is referring to a property (say D) which itself is a combination of 3 other properties which get set in a data transform i.e. D = A+B+C. How can I make translation dynamic for D field. If I create a different field value for A, B, C it won't get reflected for D.
You can use @getLocalizedText() to achieve this. Suppose you have field value of property p1 which translates text1 to localizedString and you want to assign this translated text to a property name p2.
p2 --> @getLocalizedText(text11,p1,tools)
For calculation of localized labels. Refer : https://community1.pega.com/sites/pdn.pega.com/files/help_v719/procomhelpmain.htm#rule-/rule-obj-/rule-obj-fieldvalue/localizedlable.htm
Hope this helps.
Regards,
Mounika