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)
Thanks! I tried with this approach and it worked but another issue we had that we lost smart tip of the header we were displaying earlier. So we found another easy solution. we will make a separate section for header; one for english & another for local language and the same will get displayed depending upon the current locale setting.