From e32e665c2a355a5a46bf92a5e76d372e97a4a97b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Tue, 2 Jun 2020 20:03:59 +0200 Subject: [PATCH] update list of ISO 639 languages --- src/common/iso639_language_list.cpp | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/src/common/iso639_language_list.cpp b/src/common/iso639_language_list.cpp index fa7147dab..ed62f2139 100644 --- a/src/common/iso639_language_list.cpp +++ b/src/common/iso639_language_list.cpp @@ -62,7 +62,7 @@ std::vector const g_iso639_languages{ { "Bambara", "bam", "bm", std::string{} }, { "Bamileke languages", "bai", std::string{}, std::string{} }, { "Banda languages", "bad", std::string{}, std::string{} }, - { "Bantu languages", "bnt", std::string{}, std::string{} }, + { "Bantu (Other)", "bnt", std::string{}, std::string{} }, { "Basa", "bas", std::string{}, std::string{} }, { "Bashkir", "bak", "ba", std::string{} }, { "Basque", "baq", "eu", "eus" }, @@ -134,7 +134,7 @@ std::vector const g_iso639_languages{ { "Dogrib", "dgr", std::string{}, std::string{} }, { "Dravidian languages", "dra", std::string{}, std::string{} }, { "Duala", "dua", std::string{}, std::string{} }, - { "Dutch, Middle (ca.1050-1350)", "dum", std::string{}, std::string{} }, + { "Dutch, Middle (ca. 1050-1350)", "dum", std::string{}, std::string{} }, { "Dutch; Flemish", "dut", "nl", "nld" }, { "Dyula", "dyu", std::string{}, std::string{} }, { "Dzongkha", "dzo", "dz", std::string{} }, @@ -145,7 +145,7 @@ std::vector const g_iso639_languages{ { "Elamite", "elx", std::string{}, std::string{} }, { "English", "eng", "en", std::string{} }, { "English, Middle (1100-1500)", "enm", std::string{}, std::string{} }, - { "English, Old (ca.450-1100)", "ang", std::string{}, std::string{} }, + { "English, Old (ca. 450-1100)", "ang", std::string{}, std::string{} }, { "Erzya", "myv", std::string{}, std::string{} }, { "Esperanto", "epo", "eo", std::string{} }, { "Estonian", "est", "et", std::string{} }, @@ -160,8 +160,8 @@ std::vector const g_iso639_languages{ { "Finno-Ugrian languages", "fiu", std::string{}, std::string{} }, { "Fon", "fon", std::string{}, std::string{} }, { "French", "fre", "fr", "fra" }, - { "French, Middle (ca.1400-1600)", "frm", std::string{}, std::string{} }, - { "French, Old (842-ca.1400)", "fro", std::string{}, std::string{} }, + { "French, Middle (ca. 1400-1600)", "frm", std::string{}, std::string{} }, + { "French, Old (842-ca. 1400)", "fro", std::string{}, std::string{} }, { "Friulian", "fur", std::string{}, std::string{} }, { "Fulah", "ful", "ff", std::string{} }, { "Ga", "gaa", std::string{}, std::string{} }, @@ -174,8 +174,8 @@ std::vector const g_iso639_languages{ { "Geez", "gez", std::string{}, std::string{} }, { "Georgian", "geo", "ka", "kat" }, { "German", "ger", "de", "deu" }, - { "German, Middle High (ca.1050-1500)", "gmh", std::string{}, std::string{} }, - { "German, Old High (ca.750-1050)", "goh", std::string{}, std::string{} }, + { "German, Middle High (ca. 1050-1500)", "gmh", std::string{}, std::string{} }, + { "German, Old High (ca. 750-1050)", "goh", std::string{}, std::string{} }, { "Germanic languages", "gem", std::string{}, std::string{} }, { "Gilbertese", "gil", std::string{}, std::string{} }, { "Gondi", "gon", std::string{}, std::string{} }, @@ -347,7 +347,7 @@ std::vector const g_iso639_languages{ { "Nyankole", "nyn", std::string{}, std::string{} }, { "Nyoro", "nyo", std::string{}, std::string{} }, { "Nzima", "nzi", std::string{}, std::string{} }, - { "Occitan (post 1500)", "oci", "oc", std::string{} }, + { "Occitan (post 1500); Provençal", "oci", "oc", std::string{} }, { "Official Aramaic (700-300 BCE); Imperial Aramaic (700-300 BCE)", "arc", std::string{}, std::string{} }, { "Ojibwa", "oji", "oj", std::string{} }, { "Oriya", "ori", "or", std::string{} }, @@ -365,20 +365,22 @@ std::vector const g_iso639_languages{ { "Papuan languages", "paa", std::string{}, std::string{} }, { "Pedi; Sepedi; Northern Sotho", "nso", std::string{}, std::string{} }, { "Persian", "per", "fa", "fas" }, - { "Persian, Old (ca.600-400 B.C.)", "peo", std::string{}, std::string{} }, + { "Persian, Old (ca. 600-400 B.C.)", "peo", std::string{}, std::string{} }, { "Philippine languages", "phi", std::string{}, std::string{} }, { "Phoenician", "phn", std::string{}, std::string{} }, { "Pohnpeian", "pon", std::string{}, std::string{} }, { "Polish", "pol", "pl", std::string{} }, { "Portuguese", "por", "pt", std::string{} }, { "Prakrit languages", "pra", std::string{}, std::string{} }, - { "Provençal, Old (to 1500); Occitan, Old (to 1500)", "pro", std::string{}, std::string{} }, + { "Provençal, Old (to 1500)", "pro", std::string{}, std::string{} }, { "Pushto; Pashto", "pus", "ps", std::string{} }, { "Quechua", "que", "qu", std::string{} }, { "Rajasthani", "raj", std::string{}, std::string{} }, { "Rapanui", "rap", std::string{}, std::string{} }, { "Rarotongan; Cook Islands Maori", "rar", std::string{}, std::string{} }, { "Reserved for local use: qaa", "qaa", std::string{}, std::string{} }, + { "Reserved for local use: qab", "qab", std::string{}, std::string{} }, + { "Reserved for local use: qac", "qac", std::string{}, std::string{} }, { "Reserved for local use: qad", "qad", std::string{}, std::string{} }, { "Romance languages", "roa", std::string{}, std::string{} }, { "Romanian; Moldavian; Moldovan", "rum", "ro", "ron" }, @@ -423,7 +425,7 @@ std::vector const g_iso639_languages{ { "Soninke", "snk", std::string{}, std::string{} }, { "Sorbian languages", "wen", std::string{}, std::string{} }, { "Sotho, Southern", "sot", "st", std::string{} }, - { "South American Indian languages", "sai", std::string{}, std::string{} }, + { "South American Indian (Other)", "sai", std::string{}, std::string{} }, { "Southern Altai", "alt", std::string{}, std::string{} }, { "Southern Sami", "sma", std::string{}, std::string{} }, { "Spanish; Castilian", "spa", "es", std::string{} }, @@ -486,12 +488,12 @@ std::vector const g_iso639_languages{ { "Volapük", "vol", "vo", std::string{} }, { "Votic", "vot", std::string{}, std::string{} }, { "Wakashan languages", "wak", std::string{}, std::string{} }, + { "Walamo", "wal", std::string{}, std::string{} }, { "Walloon", "wln", "wa", std::string{} }, { "Waray", "war", std::string{}, std::string{} }, { "Washo", "was", std::string{}, std::string{} }, { "Welsh", "wel", "cy", "cym" }, { "Western Frisian", "fry", "fy", std::string{} }, - { "Wolaitta; Wolaytta", "wal", std::string{}, std::string{} }, { "Wolof", "wol", "wo", std::string{} }, { "Xhosa", "xho", "xh", std::string{} }, { "Yakut", "sah", std::string{}, std::string{} },