Configuring a DST for XML
The following instruction assumes that an XML document is to be translated with Tagged XML. This XML document contains sections that are not to be translated. In this example, the contents of the external element calories are not to be translated, as the calorie information is equally valid in the target language:
In this case, the contents are to be visible to the translator, but not editable. In Across, this function is implemented by means of the format type Locked. In this way, the translation volume is reduced and errors, e.g. due to the incorrect transfer of numbers to the translation, are avoided.
XML documents can be processed either with Tagged XML, Visual XML or with Visual XML v2.
- Proceed as follows:
- Go to Tools > System Settings > Document settings and select the format for which you want to customize the document settings template (Tagged XML in our example).
- To customize the processing of XML elements, these elements must first be inserted in the template. Usually, the easiest way to do this is to import the document or the DTD in the document settings template by means of Load. In this way, all elements contained in the document are written to the document settings template for quick and easy customizing.
- Alternatively, you can manually add a new element to the template. To do this, click New and enter the original name of the XML element.
- Select the element you want to edit (in our example, an external element calories) and click Edit.
- Subsequently, determine the element type. In this example, it is an external element. As the content marked with the element is to be locked for the translator, select Locked. Click OK to save these settings.
- The customization of the document settings template for this example is finished.
Go to Configure > Splitting Settings, Preview and Advanced to customize Tagged XML templates.
Now the document to be translated can be checked in to Across on the basis of the customized document settings template. For this purpose, select the customized document settings template in the respective dialog of the Project Wizard.
In crossDesk, the checked-in document appears as follows to the translator:
In line with the settings in the document settings template, the contents of the calories element are locked for the translator. This is evident from the gray background of the respective paragraphs and from the icon in crossView.
If you adapt the document settings template for a document that has already been checked in and want to apply the changed template to the document, all you need to do is update the unchanged document. Select the previously customized template as the template (not the Current document settings template option).