Datatypes › language

ISO 639-1 language code (two letters)

ID iso639_1

Pattern of languageNot PIIcategoricalDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

Two-letter code of a language from ISO 639-1, such as en (English), de (German) or ja (Japanese). About 180 languages have such a code. It is written in lowercase, but data sets often use uppercase.

Pattern of
Language language
Categories
Common
Countries
Global (not tied to a country)
Languages
Common to most languages
FTA
LANGUAGE.ISO-639-1
Wikidata
P218
Quality
100/100
Metacrafter rules
no detection rule yet
Supported by tools
FTA (Fast Text Analysis), Great Expectations Semantic Types Expectations, Talend (Qlik Talend Data Preparation, Data Catalog and Data Inventory)

Regular expression

^(?:[a-z]{2}|[A-Z]{2})$

Python re syntax.

Examples

ValueDescription
enEnglish
deGerman
JAJapanese, in uppercase
eng invalida three-letter ISO 639-2 code

Translations

LanguageNameDescription
RussianКод языка ISO 639-1

Sources

Use this record