Developer forum

Forum » CMS - Standard features » Translate tag doesn't render in paragraph and page templates

Translate tag doesn't render in paragraph and page templates

Ton Martens
Reply
Hi,

Is this a know issue of an older version (19.0.1.8) of DW ?
Translate tags render perfectly on module templates (like ecom or news), but they fail to render on paragraph and page templates. So when viewing the source of the rendered page within browser, I see the tag, unparsed.

Any help is appreciated.

Regards,
Ton

Replies

 
Grigoriy Nilov
Reply
Hi Ton,

Actually it is not an issue. The Translate tag is meant for templates. The template engine renders these tags based on the translations.xml file and the default value. Paragraph editor content is not run through the Template engine, it's only outputted. As result, Translate tags, which were included in paragraph editor, stay unparsed in the source of the rendered page. 
For more information about using of Translate tag you can have a look at the following link http://developer.dynamicweb-cms.com/documentation/for-designers/template-terminology.aspx

Best regards,
Grigoriy Nilov
 
Ton Martens
Reply
 Hi Grigoriy,

Thanks for your reply. I'm not sure if you're right, since other tags (for instance, @DwTemplateTags) is rendered when put in a paragraph content.

Regards,
Ton

 

You must be logged in to post in the forum