Documentation Center

HTML Writer

The XML Writer settings specify the UTF-8 BOM, xml:lang attributes and the Meta Charset tags in the target file.

To open the Writer page for your HTML file type, click File > Options > File Types > [HTML file type] > Writer.
OptionValueDescription
Unicode UTF-8 Byte Order MarkYou can choose when the SDL Trados Studio should insert a UTF-8 Byte Order Mark (BOM) in the target document.
xml:lang attribute valuesChange matching source language to target language
For example: If the source language is English and the target language is French, selecting this option changes all occurrences of: 
				  xml:lang="en-US" in the source file 
				  to: 
				  xml:lang="fr-FR" in the target file 
				  
Always change to target language
For example: If the source language is English and the target language is French, selecting this option changes all occurrences of: 
				  xml:lang="..." in the source file 
				  to: 
				  xml:lang="fr-FR" in the target file 
				  
Do not changexml:lang attribute values are not changed.
<Meta charset>

Determines what <META charset> tag to insert in the target, if any.

Studio uses the code page appropriate to the target language. For example if the target is Czech, it uses the charset Windows-1250.

Studio does not support generic language tags for the xml:lang attribute. You need to specify the language and the country subtag (for example, fr-FR).