Skip to content

<language>

language

characterizes a single language or sublanguage used within a text.

Module headerHD41

Attributes

@identSupplies a language code constructed as defined in BCP 47 which is used to identify the language documented by this element, and which may be referenced by the global @xml:lang attribute.
Status
Required
Datatype
teidata.language
@usagespecifies the approximate percentage of the text which uses this language.
Status
Optional
Datatype
nonNegativeInteger

Classes and content

May contain

dictionaries

header

textcrit

Character data

  • character data
Contained by

header

Note

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

Example

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

Content model

<content>
    <macroRef key="macro.phraseSeq.limited"/>
  </content>