Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Localize Text in an XData Block

Question
Cameron Ford · Oct 12, 2021

Localize Text in an XData Block

Hi everyone!

I am trying to localize text in an XData block using the $$$Text macro. A snippet of code is included below. Is there an easy way to localize the text included in an XData block? So far, using the $$$Text macro is not working; when I export the %MessageDictionary, the text to be localized isn't included in the export.

 

XData LocalizedEmail [ MimeType = text/html ]
{
<body>

<p>

Text to be translated into another language

</p>

</body>

}

Thank you in advance!

#InterSystems IRIS
Product version: IRIS 2020.3

Source URL:https://community.intersystems.com/post/localize-text-xdata-block