The localization attribute group defines a set of common attributes related to translation and localization. These attributes are available on most DITA elements.
@translate
@xml:lang
@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
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>