<textLang>

<textLang> (text language) describes the languages and writing systems used by a manuscript (as opposed to its description, which is described in the langUsage element). 10.6.6 Languages and Writing Systems
Module msdescription — 10 Manuscript Description
In addition to global attributes In addition to global attributes
mainLang (main language) supplies a code which identifies the chief language used in the manuscript.
Status Optional
Datatype

<rng:ref name="data.language"/>
data.language
Values a recognised language ‘tag’ generated according to BCP 47 which may additionally be documented by a language element in the header
otherLangs (other languages) one or more codes identifying any other languages used in the manuscript.
Status Optional
Datatype 0–∞ occurrences of 

<rng:ref name="data.language"/>
data.language
separated by whitespace
Values a list of codes, each of which is a recognised language ‘tag’ generated according to BCP 47 which may additionally be documented by a language element in the header
Used by
May contain
Declaration

<rng:element name="textLang">
 <rng:ref name="att.global.attributes"/>
 <rng:optional>
  <rng:attribute name="mainLang">
   <rng:ref name="data.language"/>
  </rng:attribute>
 </rng:optional>
 <rng:optional>
  <rng:attribute name="otherLangs">
   <rng:list>
    <rng:zeroOrMore>
     <rng:ref name="data.language"/>
    </rng:zeroOrMore>
   </rng:list>
  </rng:attribute>
 </rng:optional>
 <rng:ref name="macro.phraseSeq"/>
</rng:element>
element textLang
{
   att.global.attributes,
   attribute mainLang { data.language }?,
   attribute otherLangs { list { data.language* } }?,
   macro.phraseSeq
}
Example
<textLang mainLang="en" otherLangs="la"> Predominantly in English with Latin
glosses</textLang>