ISO Language Codes (639-1 and 693-2) and IETF Language Types
Files | Size | Format | Created | Updated | License | Source |
---|---|---|---|---|---|---|
4 | 56.7 kB | csv | 2 months ago | Open Data Commons Public Domain Dedication and License v1.0 | Library of Congress |
Comprehensive language code information, consisting of ISO 639-1, ISO 639-2 and IETF language types. Data is taken from the Library of Congress as the ISO 639-2 Registration Authority, and from the...
Data Files
File | Description | Size | Last modified | Download |
---|---|---|---|---|
language-codes | 3.31 kB | 2 months ago | language-codes | |
language-codes-3b2 | 4.42 kB | 2 months ago | language-codes-3b2 | |
language-codes-full | 21 kB | 2 months ago | language-codes-full | |
ietf-language-tags | 28 kB | about 1 month ago | ietf-language-tags |
Data Previews
language-codes
Schema
name | type | description |
---|---|---|
alpha2 | string | 2 letter alpha-2 code |
English | string | English name of language |
language-codes-3b2
Schema
name | type | description |
---|---|---|
alpha3-b | string | 3 letter alpha-3 bibliographic code |
alpha2 | string | 2 letter alpha-2 code |
English | string | English name of language |
language-codes-full
Schema
name | type | description |
---|---|---|
alpha3-b | string | 3 letter alpha-3 bibliographic code |
alpha3-t | string | 3 letter alpha-3 terminologic code (when given) |
alpha2 | string | 2 letter alpha-2 code (when given) |
English | string | English name of language |
French | string | French name of language |
ietf-language-tags
Schema
name | type | description |
---|---|---|
lang | string | IANA/Unicode language-tag-extension |
langType | string | ISO 2 letter alpha-2 language code |
territory | string | ISO3166-1-Alpha-2 country code or cldr territory code where 001 is the World and 150 is Europe |
revGenDate | string | revision date (format ISO data) |
defs | integer | number of definitions |
dftLang | boolean | indicate the default-language, as unicode-cldr |
file | string | file-name of the locale descriptor |
Description
Comprehensive language code information, consisting of ISO 639-1, ISO 639-2 and IETF language types.
Data
Data is taken from the Library of Congress as the ISO 639-2 Registration Authority, and from the Unicode Common Locale Data Repository.
data/language-codes.csv
This file contains the 184 languages with ISO 639-1 (alpha 2 / two letter) codes and their English names.
data/language-codes-3b2.csv
This file contains the 184 languages with both ISO 639-2 (alpha 3 / three letter) bibliographic codes and ISO 639-1 codes, and their English names.
data/language-codes-full.csv
This file is more exhaustive.
It contains all languages with ISO 639-2 (alpha 3 / three letter) codes, the respective ISO 639-1 codes (if present), as well as the English and French name of each language.
There are two versions of the three letter codes: bibliographic and terminologic. Each language has a bibliographic code but only a few languages have terminologic codes. Terminologic codes are chosen to be similar to the corresponding ISO 639-1 two letter codes.
Example from Wikipedia:
[…] the German language (Part 1:
de
) has two codes in Part 2:ger
(T code) anddeu
(B code), whereas there is only one code in Part 2,eng
, for the English language.
There are four special codes: mul, und, mis, zxx; and a reserved range qaa-qtz.
data/ietf-language-tags.csv
This file lists all IETF language tags of the official resource indicated by http://www.iana.org/assignments/language-tag-extensions-registry
that into the /main
folder of http://www.unicode.org/Public/cldr/latest/core.zip (project cldr.unicode.org).
Preparation
This dataset is automatically updated using Github Workflows using scripts to gather ietf-language-tags.csv
and different language-codes
data.
License
This material is licensed by its maintainers under the Public Domain Dedication and License (PDDL).
Nevertheless, it should be noted that this material is ultimately sourced from the Library of Congress as a Registration Authority for ISO and their licensing policies are somewhat unclear. As this is a short, simple database of facts, there is a strong argument that no rights can subsist in this collection.
However, if you intended to use these data in a public or commercial product, please check the original sources for any specific restrictions.