<language>

<language> characterizes a single language or sublanguage used within a text. 2.4.2 Language Usage
Moduleheader — 2 The TEI Header
AttributesIn addition to global attributes
ident(identifier) Supplies a language code constructed as defined in BCP 47 which is used to identify the language documented by this element, and which is referenced by the global xml:lang attribute.
Status Required
Datatype
data.language
usagespecifies the approximate percentage (by volume) of the text which uses this language.
Status Optional
Datatype
xsd:nonNegativeInteger { maxInclusive = "100" }
Values a whole number between 0 and 100
Used bylangUsage
May contain
Declaration
element language
{
   att.global.attributes,
   attribute ident { data.language },
   attribute usage { xsd:nonNegativeInteger { maxInclusive = "100" } }?,
   macro.phraseSeq.limited
}
Example
<langUsage xml:lang="en-US">
 <language ident="en-USusage="75">modern American English</language>
 <language ident="i-az-Arabusage="20">Azerbaijani in Arabic script</language>
 <language ident="x-lapusage="05">Pig Latin</language>
</langUsage>
Note
Particularly for sublanguages, an informal prose characterization should be supplied as content for the element.