Language Code ISO 639-2 Three-Letter Validator
Validate assigned ISO 639-2 bibliographic and terminology codes, plus the qaa–qtz locally reserved range, and return the lowercase normalized form.
Description
Validate assigned ISO 639-2 bibliographic and terminology language codes plus the qaa–qtz local-use range.
Validate assigned ISO 639-2 bibliographic and terminology codes, plus the qaa–qtz locally reserved range, and return the lowercase normalized form.
When to use Language Code ISO 639-2 Three-Letter Validator
- Validate assigned ISO 639-2 bibliographic and terminology language codes plus the qaa–qtz local-use range.
- Apply the same explicit rule consistently during ingest, quality control, reporting, or preservation planning.
- Expose records that need human review without silently rewriting the source data.
How the calculation works
Twenty-one languages have distinct bibliographic and terminology codes; both forms are accepted as synonyms by ISO 639-2.1
valid = lowercase(trim(code)) ∈ ISO 639-2 codes or qaa…qtz Interpreting the result
Twenty-one languages have distinct bibliographic and terminology codes; both forms are accepted as synonyms by ISO 639-2.
Assumptions and limitations
- The validator does not accept arbitrary ISO 639-3 codes and does not map a code to a language name or preferred terminology form.
- Preserve the original value and record the rule version when using this result in an archival workflow.
References
-
ISO 639-2 Language Code List — Library of Congress