mohsenasfia
10 years agoGuide
How can I refer to a Custom Text which is defined in Text Editor and use it in my Custom Component?
I'd like to see how is it possible to use a Custom Text in my Custom Component? I mean how can I access those custom text keys which are defined in the Text Editor? Is there any global context object I can use in Freemarker which is pointing to those Text Keys?
As an instance if I define a Custom Text Key with a key like "welcome" and the value of "velkommen", how is it possible in Freemarker to access this Text Key?! I'm looking for sth like this: ${global.textKeys.welcome}.
I tried to find it in the community but unfortunately I was unable to find a helful answer on this. I'd appreciate if someone could help me out here.