<language>

<language> (language) indica una lingua o un linguaggio secondario utilizzato all'interno di un testo. [2.4.2 Language Usage]
Modulo header — The TEI Header
Attributi
ident⚓︎ (identificatore) fornisce un codice per la lingua costruito come definito in BCP 47 (o nei sui successori), utilizzato per identificare la lingua documentata da questo elemento e che è indicato dall'attributo globale xml:lang.
Stato Richiesto
Tipo di dati teidata.language
usage⚓︎ specifica la percentuale approsimativa (per volume) di testo che usa questa lingua.
Stato Opzionale
Tipo di dati nonNegativeInteger
Contenuto in
header: langUsage
Può contenere
Nota

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

Esempio
<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>
Dichiarazione
<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
}