<content-language> Content Language

Identifies one language used in this document, by containing an ISO 639 code.

Usage/Remarks

Best Practice

When tagging a multi-lingual document, <content-language> should appear once for each language used in the document. The element repeats to name all the languages used. This element was modeled after NISO STS, so the content is unlike typical JATS element content. For Best practice, the element content should contain (as text) the two-letter ISO 639 code for the language, for example, “en” for English, “de” for German, or “es” for Spanish.
Related Elements
Tagging Language in an Article: In JATS, there are several ways to describe the natural language of the article:
  • Content Language Element: The <content-language> element, in the metadata of the article (inside <article-meta>), identifies the language(s) used in this article. The element appears once for each language used in the article. For Best practice, the element content should be the two-letter ISO 639 code for the language, for example, “en” for English, “de” for German, or “es” for Spanish.
  • XML Language Attribute: The @xml:lang attribute can be put on nearly all elements, to indicate the language of the element. This is an inherited value, so that element and all of its children will be in the named language, unless specifically overridden with another @xml:lang attribute.
Attributes

Base Attributes

Models and Context
May be contained in
Description
Text, numbers, or special characters, zero or more
Content Model
<!ELEMENT  content-language
                        (#PCDATA %content-language-elements;)*       >
Expanded Content Model

(#PCDATA)*

Tagged Sample

2 variants of a figure, with <processing-meta> and <content-language>

<article dtd-version="1.4d1" xml:lang="en"   >
<processing-meta lang-grouping="yes"/>
<front>...
<article-meta>...
<content-language>es</content-language>
<content-language>en</content-language>...
</article-meta>
</front>
<body>
...
<fig id="f0001" lang-group="f0001"  
  xml:lang="es" lang-variant="original" 
  lang-source="author" lang-focus="primary"
  position="float" fig-type="scatter-graph" >
 <label>Figura 1.</label>
 <caption><p>Evolución de la tasa de repetición en  
  todas las secuencias</p></caption>
...
</fig>

<fig id="f0005" lang-group="f0001"  
  xml:lang="en" lang-variant="translation" 
  lang-source="translator" lang-focus="secondary"
  position="float" fig-type="scatter-graph" >
 <label>Figure 1.</label>
 <caption><p>Evolution of the repetition rate in all sequences</p></caption>
 ...
</fig>
...
</body>
</article>