<textLang>

<textLang> (text language) describes the languages and writing systems identified within the bibliographic work being described, rather than its description. [3.11.2.3 Imprint, Pagination, and Other Details 10.6.6 Languages and Writing Systems]
Modulecore — 3 Elements Available in All TEI Documents
Attributesatt.global (@xml:id, @n, @xml:lang, @rend, @rendition, @xml:base, @xml:space) (att.global.linking (@corresp, @synch, @sameAs, @copyOf, @next, @prev, @exclude, @select)) (att.global.analytic (@ana)) (att.global.facs (@facs)) (att.global.change (@change))
mainLang(main language) supplies a code which identifies the chief language used in the bibliographic work.
Status Optional
Datatype

<rng:ref name="data.language"/>
data.language
Values a recognized 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 bibliographic work.
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 recognized language ‘tag’ generated according to BCP 47 which may additionally be documented by a language element in the header
Used by
Contained by
May contain
Declaration

<rng:element name="textLang">
 <rng:ref name="att.global.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: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,
   att.global.linking.attributes,
   att.global.analytic.attributes,
   att.global.facs.attributes,
   att.global.change.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>
Note
Note that this element should not be used to document the languages or writing systems used for the bibliographic or manuscript description itself: as for all other TEI elements, such information should be provided by means of the global xml:lang attribute attached to the element containing the description. The same values should be used to identify languages and writing systems in all cases, and the codes used may be documented further in the language element.