Reviewing XML Language Attribute Values

Translation processing handles xml:lang attribute values on documents in a translation package based on your system's configuration.

When documents are translated, you may have some elements with xml:lang attribute values present that should not be changed during processing. These methods allow you to determine which attribute values will be changed and which will remain the same after being imported into the target language cabinet.

Note the setting for the xml:lang attribute processing type field in the application document. See Configuring Translation Options.

Review how that processing type selection handles xml:lang attribute values on documents in a translation package document being imported into the repository. See How Translation Processing Handles XML Language Attribute Values.

Note the Language and optional Locale fields defined for your source language cabinet and in all target language cabinets by right-clicking the cabinet and selecting File > Show Properties.

Examine your source language documents to determine where any root elements or descendant elements have an explicit xml:lang attribute value present. An easy way to do this is to create a list of what is used in a map or select the cabinet or folder where the source documents are stored, then perform a Basic search, using these criteria:
Field Entry
Find: Elements
By: Attribute
@Name is xml:lang
@Value: Is Not
Value xxx (or any nonsense string that is not a valid xml:lang attribute value)

When the search results are displayed in a Details view, modify the presentation by adding an xpathExpressions column with the value of @xml:lang to display attribute values. See Modifying a View Presentation. Click the element names and attribute value column heads to sort the list to assist with determining where xml:lang attribute values are present, either on root elements or any descendant elements.

In particular. understand how these xml:lang attributes are handled based on the processing type configured for your repository:

Determine if the processing type configured for your repository will yield the desired results for the translation package being imported. If not, consult your administrator for how to proceed.