Mark some CDATA content as untranslatable
Dear team,
We have some XML files that were prepared before they were sent to us. The CDATA should be translated for the most part, but also contain an additional attribute "donottranslate" in some places. The contents of this tag should not be translated.
How do I configure the settings file so that this sole attribute is marked for no translation?
Kind regards,
Kim
-
Hello,
I suppose the content in the CDATA is HTML? And the attribute is an HTML attribute?
Please paste a brief extract of the XML/HTML here.
Thank you
0 -
<group id="Content" elementtype="Section" type="CONTENT" connectorId="00000000-0000-0000-0000-000000000000" name="Item Content" sequence="200">
<trans-unit embededLikeXml="false">
<donottranslate><![CDATA[]]></donottranslate>
<source><
With the example above you would type "donottranslate"
Save the configuration.
(2) Go to your XML configuration and select your new HTML configuration:

(3) Test
I did not try this myself before I started writing this message but I am confident.
Regards,
Stephan
0 -
Ok great Stephan. I might need to include the CDATA as comments or locked content as the text has some user instructions. I think I recall doing this in the past but can't find my notes. This is possible isn't it?
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
8 Kommentare