Localization attribute group

Darwin Information Typing Architecture (DITA) Version 1.3 Part 2: Technical Content Edition

Document
Darwin Information Typing Architecture (DITA) Version 1.3 Part 2: Technical Content Edition
Version
1.3
Author
OASIS DITA Technical Committee

The localization attribute group defines a set of common attributes related to translation and localization. These attributes are available on most DITA elements.

translate
Indicates whether the content of the element should be translated or not. Allowable values are yes, no, and -dita-use-conref-target. See Element-by-element recommendations for translators: All-inclusive edition for suggested processing defaults for each element.
xml:lang
Specifies the language of the element content. The xml:lang attribute and its values are described in the XML Recommendation at http://www.w3.org/TR/REC-xml/#sec-lang-tag. Allowable values are language tokens or the null string.
dir
Specifies the directionality of text: left-to-right (ltr, the processing default) or right-to-left (rtl). The value lro indicates an override of normal bidi text presentation, forcing the element into left-to-right mode; rlo overrides normal rules to force right-to-left presentation. Allowable values are ltr, rtl, lro, rlo, and -dita-use-conref-target. See The dir attribute for more information.

The translate, xml:lang, and dir attributes identify language-specific words or phrases for specific processing (or non-processing, in the case of translate="no").

<p>The cordial response to the question is 
<q translate="no" xml:lang="de-de" dir="ltr">nein.</q></p>