|
||
Note that by default, the exported XLIFF files use CDATA notation. You can turn CDATA off in exported XLIFF files by adding the CMSTranslationServicesUseCDATAForTransUnit key into your web.config file.
Example of an XLIFF file with the CDATA notation.
<xliff version="1.2"> <file original="cms.document;25" source-language="en-US" target-language="fr-FR" datatype="htmlbody"> <body> ...
<trans-unit id="newstitle"> <source><![CDATA[Apple iPad Mini In Stock]]></source> </trans-unit> <trans-unit id="newssummary"> <source><![CDATA[Today, we have good news for all fans of the awesome Apple iPad. We are glad to announce that its new version, Apple iPad Mini, is available in our web shop. Furthermore, we keep our reasonable pricing policy, providing the lowest price currently available on the Web.]]></source> </trans-unit>
... </body> </file> </xliff> |
1. Open the web.config file located in the root of the website.
2. Add the CMSTranslationServicesUseCDATAForTransUnit key into the <app settings> section of the file.
<appSettings> ...
<add key="CMSTranslationServicesUseCDATAForTransUnit" value="false" />
... </appSettings> |
3. Save the web.config file.
Now, whenever you submit a document for translation, the system exports it without the CDATA notation.
Example of an XLIFF file with the CDATA notation turned off.
<xliff version="1.2"> <file original="cms.document;25" source-language="en-US" target-language="fr-FR" datatype="htmlbody"> <body> ...
<trans-unit id="newstitle"> <source>Apple iPad Mini In Stock</source> </trans-unit> <trans-unit id="newssummary"> <source>Today, we have good news for all fans of the awesome Apple iPad. We are glad to announce that its new version, Apple iPad Mini, is available in our web shop. Furthermore, we keep our reasonable pricing policy, providing the lowest price currently available on the Web.</source> </trans-unit>
... </body> </file> </xliff> |