<textLang> (text language) describes the languages and writing systems identified within the bibliographic work being described, rather than its description. [ Imprint, Size of a Document, and Reprint Information 10.6.6. Languages and Writing Systems]
mainLang(main language) supplies a code which identifies the chief language used in the bibliographic work.
Status Optional
Datatype teidata.language
otherLangs(other languages) one or more codes identifying any other languages used in the bibliographic work.
Status Optional
Datatype 0–∞ occurrences of teidata.language separated by whitespace
Member of
Contained by
May contain

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.

In all cases, languages should be identified by means of a standardized ‘language tag’ generated according to BCP 47. Additional documentation for the language may be provided by a language element in the TEI header.

<textLang mainLang="enotherLangs="la"> Predominantly in English with Latin
Content model
 <macroRef key="macro.specialPara"/>
Schema Declaration
element textLang
   attribute mainLang { teidata.language }?,
   attribute otherLangs { list { teidata.language* } }?,