<language>

<language> (language) characterizes a single language or sublanguage used within a text. [2.4.2 Language Usage]
Module header — The TEI Header
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 may be referenced by the global xml:lang attribute.
Status Required
Datatype teidata.language
usage⚓︎ specifies the approximate percentage of the text which uses this language.
Status Optional
Datatype nonNegativeInteger
Contained by
header: langUsage
May contain
Note

Particularly for sublanguages, an informal prose characterization should be supplied as content for the element.

Example
<langUsage>
 <language ident="en-USusage="75">modern American English</language>
 <language ident="az-Arabusage="20">Azerbaijani in Arabic script</language>
 <language ident="x-lapusage="05">Pig Latin</language>
</langUsage>
Content model
<content>
 <macroRef key="macro.phraseSeq.limited"/>
</content>
Schema Declaration
<rng:element name="language">
 <rng:ref name="att.global.attributes"/>
 <rng:ref name="att.global.rendition.attributes"/>
 <rng:ref name="att.global.linking.attributes"/>
 <rng:ref name="att.global.analytic.attributes"/>
 <rng:ref name="att.global.facs.attributes"/>
 <rng:ref name="att.global.change.attributes"/>
 <rng:ref name="att.global.responsibility.attributes"/>
 <rng:ref name="att.global.source.attributes"/>
 <rng:attribute name="ident">
  <rng:ref name="teidata.language"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="usage">
   <rng:data type="nonNegativeInteger"/>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq.limited"/>
</rng:element>
element language
{
   att.global.attributes,
   att.global.rendition.attributes,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.attributes,
   att.global.responsibility.attributes,
   att.global.source.attributes,
   attribute ident { teidata.language },
   attribute usage { xsd:nonNegativeInteger }?,
   macro.phraseSeq.limited
}