<language>

<language> (language) characterizes a single language or sublanguage used within a text. [2.4.2. Language Usage]
Module header
Attributes Attributes att.global (xml:id, n, xml:lang) (lim.att.global.fragmentable (part)) (att.global.rendition (rendition)) (att.global.source (source))
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 teidata.language
usage specifies the approximate percentage (by volume) 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.
Examples

<langUsage>
   
<language ident="en-US" usage="75">modern American English</language>
   
<language ident="i-az-Arab" usage="20">Azerbaijani in Arabic script</language>
   
<language ident="x-lap" usage="05">Pig Latin</language>
</langUsage>
Source Github

<elementSpec module="header" ident="language">
   
<gloss>language</gloss>
   
<desc>characterizes a single language or sublanguage used within a text.</desc>
   
<classes>
      
<memberOf key="att.global"/>
   
</classes>
   
<content>
      
<macroRef key="macro.phraseSeq.limited"/>
   
</content>
   
<attList>
      
<attDef ident="ident" usage="req">
         
<gloss>identifier</gloss>
         
<desc>Supplies a language code constructed as defined in <ref target="https://tools.ietf.org/html/bcp47">BCP 47</ref> which is used to identify the
    language documented by this element, and which is referenced by the global
     
<att>xml:lang</att> attribute.</desc>
         
<datatype>
            
<dataRef key="teidata.language"/>
         
</datatype>
      
</attDef>
      
<attDef ident="usage" usage="opt">
         
<desc>specifies the approximate percentage (by volume) of the text which uses this language.</desc>
         
<datatype>
            
<dataRef name="nonNegativeInteger"/>
         
</datatype>
      
</attDef>
   
</attList>
</elementSpec>