The @script attribute specifies the language writing script of a of the content of the element with which it is associated, for example the value “Cyrl”.


Purpose: Like the @xml:lang attribute, the @script attribute is often associated with the <tbx:langSet> element, to specify the writing script of all the child elements in a language section. However, it can be associated with virtually any element to specify the writing script of the content of that element.
Values: Use values found for “script” in the IANA language subtag registry. Do not use deprecated values.
Note: Do not combine script and region values with the language value. Use the attribute @xml:lang to record the language. Use the @script attribute, and the <tbx:geographicalUsage> element for script and region, respectively.
You should omit the @script attribute when it makes no useful distinction (as for the primary or sole script of a language). In particular, you should omit the @script attribute if it matches the “Suppress-Script” field in the registry for the language you used.

Used on these Elements:

Text, numbers, or special charactersThe writing script of a language, such as “Cyrl”
RestrictionThis is an optional attribute; there is no default.