<language>

<language> characterizes a single language or sublanguage used within a text. [2.4.2 Language Usage]
Moduleheader — The TEI Header
Attributesatt.global (@xml:id, @n, @xml:lang, @xml:base, @xml:space) (att.global.rendition (@rend, @style, @rendition)) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change)) (att.global.responsibility (@cert, @resp))
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

<rng:ref name="data.language"/>
data.language
usagespecifies the approximate percentage (by volume) of the text which uses this language.
Status Optional
Datatype

<rng:data type="nonNegativeInteger">
 <rng:param name="maxInclusive">100</rng:param>
</rng:data>
xsd:nonNegativeInteger { maxInclusive = "100" }
Contained by
header: langUsage
May contain
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:attribute name="ident">
  <rng:ref name="data.language"/>
 </rng:attribute>
 <rng:optional>
  <rng:attribute name="usage">
   <rng:data type="nonNegativeInteger">
    <rng:param name="maxInclusive">100</rng:param>
   </rng:data>
  </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,
   attribute ident { data.language },
   attribute usage { xsd:nonNegativeInteger { maxInclusive = "100" } }?,
   macro.phraseSeq.limited
}
Example
<langUsage>
 <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.