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, 2
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.
Limitations and assumptions
- 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
-
Digital preservation — Wikipedia contributors
Similar or alternative tools
- Country Code ISO 3166 Alpha-2 Validator
Validate whether a normalized two-letter value is a currently assigned ISO 3166-1 alpha-2 country code. Reserved and user-assigned letter pairs are not accepted.
- ISO 8601 Date Interval Format Validator
Validate a practical ISO 8601 interval subset of the form start/end. It checks Gregorian calendar dates (including leap years), clock and UTC-offset ranges, reduced-precision dates, and non-mixed calendar or week durations; it does not compare endpoint chronology.
- Repository Code MARC Organization Identifier Format Checker
Check a MARC organization code format of up to 16 letters, digits and single interior hyphens with at least one letter, preserving the original case.