xml:lang [ type LanguageCode ]dir [ type Enumeration (ltr | rtl) ], from the Bi-directional Text Modulexml:lang attribute may be used on most elements in the Element Index - all except: base, br, param, script.dir attribute may be used on most elements in the Element Index - all except: base, br, param, script. It is #REQUIRED on the bdo element.Just in case you were wondering, the unfeasibly long (for impatient typists) name "Internationalisation" (or "Internationalization" if you're from the States) is usually shortened to "I18N" because 18 is the number of letters between the I and the N which are missed out in the abbreviation.
There are two attributes in the I18N Attribute Collection: xml:lang and dir.
The xml:lang attribute allows the language of an element's content to be specified.
The dir attribute allows control of text directionality, if required, to achieve the desired
document rendering. The use of dir requires that the Bi-directional Text Module is selected,
which it is in the default DTD.