1// WARNING: this file was generated by ../scripts/gen-tag-table.py
2
3use crate::Tag;
4
5pub struct LangTag {
6 pub language: &'static str,
7 pub tag: Tag,
8}
9
10#[rustfmt::skip]
11pub const OPEN_TYPE_LANGUAGES: &[LangTag] = &[
12 LangTag { language: "aa", tag: Tag::from_bytes(b"AFR ") }, // Afar
13 LangTag { language: "aae", tag: Tag::from_bytes(b"SQI ") }, // Arbëreshë Albanian -> Albanian
14 LangTag { language: "aao", tag: Tag::from_bytes(b"ARA ") }, // Algerian Saharan Arabic -> Arabic
15 LangTag { language: "aat", tag: Tag::from_bytes(b"SQI ") }, // Arvanitika Albanian -> Albanian
16 LangTag { language: "ab", tag: Tag::from_bytes(b"ABK ") }, // Abkhazian
17 LangTag { language: "aba", tag: Tag(0) }, // Abé != Abaza
18 LangTag { language: "abh", tag: Tag::from_bytes(b"ARA ") }, // Tajiki Arabic -> Arabic
19 LangTag { language: "abq", tag: Tag::from_bytes(b"ABA ") }, // Abaza
20 LangTag { language: "abs", tag: Tag::from_bytes(b"CPP ") }, // Ambonese Malay -> Creoles
21 LangTag { language: "abv", tag: Tag::from_bytes(b"ARA ") }, // Baharna Arabic -> Arabic
22 LangTag { language: "acf", tag: Tag::from_bytes(b"FAN ") }, // Saint Lucian Creole French -> French Antillean
23 LangTag { language: "acf", tag: Tag::from_bytes(b"CPP ") }, // Saint Lucian Creole French -> Creoles
24// LangTag { language: "ach", tag: Tag::from_bytes(b"ACH ") }, // Acoli -> Acholi
25 LangTag { language: "acm", tag: Tag::from_bytes(b"ARA ") }, // Mesopotamian Arabic -> Arabic
26 LangTag { language: "acq", tag: Tag::from_bytes(b"ARA ") }, // Ta'izzi-Adeni Arabic -> Arabic
27 LangTag { language: "acr", tag: Tag::from_bytes(b"ACR ") }, // Achi
28 LangTag { language: "acr", tag: Tag::from_bytes(b"MYN ") }, // Achi -> Mayan
29 LangTag { language: "acw", tag: Tag::from_bytes(b"ARA ") }, // Hijazi Arabic -> Arabic
30 LangTag { language: "acx", tag: Tag::from_bytes(b"ARA ") }, // Omani Arabic -> Arabic
31 LangTag { language: "acy", tag: Tag::from_bytes(b"ARA ") }, // Cypriot Arabic -> Arabic
32 LangTag { language: "ada", tag: Tag::from_bytes(b"DNG ") }, // Adangme -> Dangme
33 LangTag { language: "adf", tag: Tag::from_bytes(b"ARA ") }, // Dhofari Arabic -> Arabic
34 LangTag { language: "adp", tag: Tag::from_bytes(b"DZN ") }, // Adap(retired code) -> Dzongkha
35// LangTag { language: "ady", tag: Tag::from_bytes(b"ADY ") }, // Adyghe
36 LangTag { language: "aeb", tag: Tag::from_bytes(b"ARA ") }, // Tunisian Arabic -> Arabic
37 LangTag { language: "aec", tag: Tag::from_bytes(b"ARA ") }, // Saidi Arabic -> Arabic
38 LangTag { language: "af", tag: Tag::from_bytes(b"AFK ") }, // Afrikaans
39 LangTag { language: "afb", tag: Tag::from_bytes(b"ARA ") }, // Gulf Arabic -> Arabic
40 LangTag { language: "afk", tag: Tag(0) }, // Nanubae != Afrikaans
41 LangTag { language: "afs", tag: Tag::from_bytes(b"CPP ") }, // Afro-Seminole Creole -> Creoles
42 LangTag { language: "agu", tag: Tag::from_bytes(b"MYN ") }, // Aguacateco -> Mayan
43 LangTag { language: "agw", tag: Tag(0) }, // Kahua != Agaw
44 LangTag { language: "ahg", tag: Tag::from_bytes(b"AGW ") }, // Qimant -> Agaw
45 LangTag { language: "aht", tag: Tag::from_bytes(b"ATH ") }, // Ahtena -> Athapaskan
46 LangTag { language: "aig", tag: Tag::from_bytes(b"CPP ") }, // Antigua and Barbuda Creole English -> Creoles
47 LangTag { language: "aii", tag: Tag::from_bytes(b"SWA ") }, // Assyrian Neo-Aramaic -> Swadaya Aramaic
48 LangTag { language: "aii", tag: Tag::from_bytes(b"SYR ") }, // Assyrian Neo-Aramaic -> Syriac
49// LangTag { language: "aio", tag: Tag::from_bytes(b"AIO ") }, // Aiton
50 LangTag { language: "aiw", tag: Tag::from_bytes(b"ARI ") }, // Aari
51 LangTag { language: "ajp", tag: Tag::from_bytes(b"ARA ") }, // South Levantine Arabic(retired code) -> Arabic
52 LangTag { language: "ajt", tag: Tag::from_bytes(b"ARA ") }, // Judeo-Tunisian Arabic(retired code) -> Arabic
53 LangTag { language: "ak", tag: Tag::from_bytes(b"AKA ") }, // Akan [macrolanguage]
54 LangTag { language: "akb", tag: Tag::from_bytes(b"AKB ") }, // Batak Angkola
55 LangTag { language: "akb", tag: Tag::from_bytes(b"BTK ") }, // Batak Angkola -> Batak
56 LangTag { language: "aln", tag: Tag::from_bytes(b"SQI ") }, // Gheg Albanian -> Albanian
57 LangTag { language: "als", tag: Tag::from_bytes(b"SQI ") }, // Tosk Albanian -> Albanian
58// LangTag { language: "alt", tag: Tag::from_bytes(b"ALT ") }, // Southern Altai -> Altai
59 LangTag { language: "am", tag: Tag::from_bytes(b"AMH ") }, // Amharic
60 LangTag { language: "amf", tag: Tag::from_bytes(b"HBN ") }, // Hamer-Banna -> Hammer-Banna
61 LangTag { language: "amw", tag: Tag::from_bytes(b"SYR ") }, // Western Neo-Aramaic -> Syriac
62 LangTag { language: "an", tag: Tag::from_bytes(b"ARG ") }, // Aragonese
63// LangTag { language: "ang", tag: Tag::from_bytes(b"ANG ") }, // Old English (ca. 450-1100) -> Anglo-Saxon
64 LangTag { language: "aoa", tag: Tag::from_bytes(b"CPP ") }, // Angolar -> Creoles
65 LangTag { language: "apa", tag: Tag::from_bytes(b"ATH ") }, // Apache [family] -> Athapaskan
66 LangTag { language: "apc", tag: Tag::from_bytes(b"ARA ") }, // Levantine Arabic -> Arabic
67 LangTag { language: "apd", tag: Tag::from_bytes(b"ARA ") }, // Sudanese Arabic -> Arabic
68 LangTag { language: "apj", tag: Tag::from_bytes(b"ATH ") }, // Jicarilla Apache -> Athapaskan
69 LangTag { language: "apk", tag: Tag::from_bytes(b"ATH ") }, // Kiowa Apache -> Athapaskan
70 LangTag { language: "apl", tag: Tag::from_bytes(b"ATH ") }, // Lipan Apache -> Athapaskan
71 LangTag { language: "apm", tag: Tag::from_bytes(b"ATH ") }, // Mescalero-Chiricahua Apache -> Athapaskan
72 LangTag { language: "apw", tag: Tag::from_bytes(b"ATH ") }, // Western Apache -> Athapaskan
73 LangTag { language: "ar", tag: Tag::from_bytes(b"ARA ") }, // Arabic [macrolanguage]
74 LangTag { language: "arb", tag: Tag::from_bytes(b"ARA ") }, // Standard Arabic -> Arabic
75 LangTag { language: "ari", tag: Tag(0) }, // Arikara != Aari
76 LangTag { language: "ark", tag: Tag(0) }, // Arikapú != Rakhine
77 LangTag { language: "arn", tag: Tag::from_bytes(b"MAP ") }, // Mapudungun
78 LangTag { language: "arq", tag: Tag::from_bytes(b"ARA ") }, // Algerian Arabic -> Arabic
79 LangTag { language: "ars", tag: Tag::from_bytes(b"ARA ") }, // Najdi Arabic -> Arabic
80 LangTag { language: "ary", tag: Tag::from_bytes(b"MOR ") }, // Moroccan Arabic -> Moroccan
81 LangTag { language: "ary", tag: Tag::from_bytes(b"ARA ") }, // Moroccan Arabic -> Arabic
82 LangTag { language: "arz", tag: Tag::from_bytes(b"ARA ") }, // Egyptian Arabic -> Arabic
83 LangTag { language: "as", tag: Tag::from_bytes(b"ASM ") }, // Assamese
84// LangTag { language: "ast", tag: Tag::from_bytes(b"AST ") }, // Asturian
85// LangTag { language: "ath", tag: Tag::from_bytes(b"ATH ") }, // Athapascan [family] -> Athapaskan
86 LangTag { language: "atj", tag: Tag::from_bytes(b"RCR ") }, // Atikamekw -> R-Cree
87 LangTag { language: "atv", tag: Tag::from_bytes(b"ALT ") }, // Northern Altai -> Altai
88 LangTag { language: "auj", tag: Tag::from_bytes(b"BBR ") }, // Awjilah -> Berber
89 LangTag { language: "auz", tag: Tag::from_bytes(b"ARA ") }, // Uzbeki Arabic -> Arabic
90 LangTag { language: "av", tag: Tag::from_bytes(b"AVR ") }, // Avaric -> Avar
91 LangTag { language: "avl", tag: Tag::from_bytes(b"ARA ") }, // Eastern Egyptian Bedawi Arabic -> Arabic
92// LangTag { language: "avn", tag: Tag::from_bytes(b"AVN ") }, // Avatime
93// LangTag { language: "awa", tag: Tag::from_bytes(b"AWA ") }, // Awadhi
94 LangTag { language: "ay", tag: Tag::from_bytes(b"AYM ") }, // Aymara [macrolanguage]
95 LangTag { language: "ayc", tag: Tag::from_bytes(b"AYM ") }, // Southern Aymara -> Aymara
96 LangTag { language: "ayh", tag: Tag::from_bytes(b"ARA ") }, // Hadrami Arabic -> Arabic
97 LangTag { language: "ayl", tag: Tag::from_bytes(b"ARA ") }, // Libyan Arabic -> Arabic
98 LangTag { language: "ayn", tag: Tag::from_bytes(b"ARA ") }, // Sanaani Arabic -> Arabic
99 LangTag { language: "ayp", tag: Tag::from_bytes(b"ARA ") }, // North Mesopotamian Arabic -> Arabic
100 LangTag { language: "ayr", tag: Tag::from_bytes(b"AYM ") }, // Central Aymara -> Aymara
101 LangTag { language: "az", tag: Tag::from_bytes(b"AZE ") }, // Azerbaijani [macrolanguage]
102 LangTag { language: "azb", tag: Tag::from_bytes(b"AZB ") }, // South Azerbaijani -> Torki
103 LangTag { language: "azb", tag: Tag::from_bytes(b"AZE ") }, // South Azerbaijani -> Azerbaijani
104 LangTag { language: "azd", tag: Tag::from_bytes(b"NAH ") }, // Eastern Durango Nahuatl -> Nahuatl
105 LangTag { language: "azj", tag: Tag::from_bytes(b"AZE ") }, // North Azerbaijani -> Azerbaijani
106 LangTag { language: "azn", tag: Tag::from_bytes(b"NAH ") }, // Western Durango Nahuatl -> Nahuatl
107 LangTag { language: "azz", tag: Tag::from_bytes(b"NAH ") }, // Highland Puebla Nahuatl -> Nahuatl
108 LangTag { language: "ba", tag: Tag::from_bytes(b"BSH ") }, // Bashkir
109 LangTag { language: "bad", tag: Tag::from_bytes(b"BAD0") }, // Banda [family]
110 LangTag { language: "bag", tag: Tag(0) }, // Tuki != Baghelkhandi
111 LangTag { language: "bah", tag: Tag::from_bytes(b"CPP ") }, // Bahamas Creole English -> Creoles
112 LangTag { language: "bai", tag: Tag::from_bytes(b"BML ") }, // Bamileke [family]
113 LangTag { language: "bal", tag: Tag::from_bytes(b"BLI ") }, // Baluchi [macrolanguage]
114// LangTag { language: "ban", tag: Tag::from_bytes(b"BAN ") }, // Balinese
115// LangTag { language: "bar", tag: Tag::from_bytes(b"BAR ") }, // Bavarian
116 LangTag { language: "bau", tag: Tag(0) }, // Bada (Nigeria) != Baulé
117 LangTag { language: "bbc", tag: Tag::from_bytes(b"BBC ") }, // Batak Toba
118 LangTag { language: "bbc", tag: Tag::from_bytes(b"BTK ") }, // Batak Toba -> Batak
119 LangTag { language: "bbj", tag: Tag::from_bytes(b"BML ") }, // Ghomálá' -> Bamileke
120 LangTag { language: "bbp", tag: Tag::from_bytes(b"BAD0") }, // West Central Banda -> Banda
121 LangTag { language: "bbr", tag: Tag(0) }, // Girawa != Berber
122 LangTag { language: "bbz", tag: Tag::from_bytes(b"ARA ") }, // Babalia Creole Arabic(retired code) -> Arabic
123 LangTag { language: "bcc", tag: Tag::from_bytes(b"BLI ") }, // Southern Balochi -> Baluchi
124 LangTag { language: "bch", tag: Tag(0) }, // Bariai != Bench
125 LangTag { language: "bci", tag: Tag::from_bytes(b"BAU ") }, // Baoulé -> Baulé
126 LangTag { language: "bcl", tag: Tag::from_bytes(b"BIK ") }, // Central Bikol -> Bikol
127 LangTag { language: "bcq", tag: Tag::from_bytes(b"BCH ") }, // Bench
128 LangTag { language: "bcr", tag: Tag::from_bytes(b"ATH ") }, // Babine -> Athapaskan
129// LangTag { language: "bdy", tag: Tag::from_bytes(b"BDY ") }, // Bandjalang
130 LangTag { language: "be", tag: Tag::from_bytes(b"BEL ") }, // Belarusian -> Belarussian
131 LangTag { language: "bea", tag: Tag::from_bytes(b"ATH ") }, // Beaver -> Athapaskan
132 LangTag { language: "beb", tag: Tag::from_bytes(b"BTI ") }, // Bebele -> Beti
133// LangTag { language: "bem", tag: Tag::from_bytes(b"BEM ") }, // Bemba (Zambia)
134 LangTag { language: "ber", tag: Tag::from_bytes(b"BBR ") }, // Berber [family]
135 LangTag { language: "bew", tag: Tag::from_bytes(b"CPP ") }, // Betawi -> Creoles
136 LangTag { language: "bfl", tag: Tag::from_bytes(b"BAD0") }, // Banda-Ndélé -> Banda
137 LangTag { language: "bfq", tag: Tag::from_bytes(b"BAD ") }, // Badaga
138 LangTag { language: "bft", tag: Tag::from_bytes(b"BLT ") }, // Balti
139 LangTag { language: "bfu", tag: Tag::from_bytes(b"LAH ") }, // Gahri -> Lahuli
140 LangTag { language: "bfy", tag: Tag::from_bytes(b"BAG ") }, // Bagheli -> Baghelkhandi
141 LangTag { language: "bg", tag: Tag::from_bytes(b"BGR ") }, // Bulgarian
142// LangTag { language: "bgc", tag: Tag::from_bytes(b"BGC ") }, // Haryanvi
143 LangTag { language: "bgn", tag: Tag::from_bytes(b"BLI ") }, // Western Balochi -> Baluchi
144 LangTag { language: "bgp", tag: Tag::from_bytes(b"BLI ") }, // Eastern Balochi -> Baluchi
145 LangTag { language: "bgq", tag: Tag::from_bytes(b"BGQ ") }, // Bagri
146 LangTag { language: "bgq", tag: Tag::from_bytes(b"RAJ ") }, // Bagri -> Rajasthani
147 LangTag { language: "bgr", tag: Tag::from_bytes(b"QIN ") }, // Bawm Chin -> Chin
148 LangTag { language: "bhb", tag: Tag::from_bytes(b"BHI ") }, // Bhili
149// LangTag { language: "bhi", tag: Tag::from_bytes(b"BHI ") }, // Bhilali -> Bhili
150 LangTag { language: "bhk", tag: Tag::from_bytes(b"BIK ") }, // Albay Bicolano(retired code) -> Bikol
151// LangTag { language: "bho", tag: Tag::from_bytes(b"BHO ") }, // Bhojpuri
152 LangTag { language: "bhr", tag: Tag::from_bytes(b"MLG ") }, // Bara Malagasy -> Malagasy
153 LangTag { language: "bi", tag: Tag::from_bytes(b"BIS ") }, // Bislama
154 LangTag { language: "bi", tag: Tag::from_bytes(b"CPP ") }, // Bislama -> Creoles
155// LangTag { language: "bik", tag: Tag::from_bytes(b"BIK ") }, // Bikol [macrolanguage]
156 LangTag { language: "bil", tag: Tag(0) }, // Bile != Bilen
157 LangTag { language: "bin", tag: Tag::from_bytes(b"EDO ") }, // Edo
158 LangTag { language: "biu", tag: Tag::from_bytes(b"QIN ") }, // Biete -> Chin
159// LangTag { language: "bjj", tag: Tag::from_bytes(b"BJJ ") }, // Kanauji
160 LangTag { language: "bjn", tag: Tag::from_bytes(b"MLY ") }, // Banjar -> Malay
161 LangTag { language: "bjo", tag: Tag::from_bytes(b"BAD0") }, // Mid-Southern Banda -> Banda
162 LangTag { language: "bjq", tag: Tag::from_bytes(b"MLG ") }, // Southern Betsimisaraka Malagasy(retired code) -> Malagasy
163 LangTag { language: "bjs", tag: Tag::from_bytes(b"CPP ") }, // Bajan -> Creoles
164 LangTag { language: "bjt", tag: Tag::from_bytes(b"BLN ") }, // Balanta-Ganja -> Balante
165 LangTag { language: "bkf", tag: Tag(0) }, // Beeke != Blackfoot
166 LangTag { language: "bko", tag: Tag::from_bytes(b"BML ") }, // Kwa' -> Bamileke
167 LangTag { language: "bla", tag: Tag::from_bytes(b"BKF ") }, // Siksika -> Blackfoot
168 LangTag { language: "ble", tag: Tag::from_bytes(b"BLN ") }, // Balanta-Kentohe -> Balante
169 LangTag { language: "blg", tag: Tag::from_bytes(b"IBA ") }, // Balau(retired code) -> Iban
170 LangTag { language: "bli", tag: Tag(0) }, // Bolia != Baluchi
171 LangTag { language: "blk", tag: Tag::from_bytes(b"BLK ") }, // Pa’o Karen
172 LangTag { language: "blk", tag: Tag::from_bytes(b"KRN ") }, // Pa'o Karen -> Karen
173 LangTag { language: "bln", tag: Tag::from_bytes(b"BIK ") }, // Southern Catanduanes Bikol -> Bikol
174 LangTag { language: "blt", tag: Tag(0) }, // Tai Dam != Balti
175 LangTag { language: "bm", tag: Tag::from_bytes(b"BMB ") }, // Bambara (Bamanankan)
176 LangTag { language: "bmb", tag: Tag(0) }, // Bembe != Bambara (Bamanankan)
177 LangTag { language: "bml", tag: Tag(0) }, // Bomboli != Bamileke
178 LangTag { language: "bmm", tag: Tag::from_bytes(b"MLG ") }, // Northern Betsimisaraka Malagasy -> Malagasy
179 LangTag { language: "bn", tag: Tag::from_bytes(b"BEN ") }, // Bengali
180 LangTag { language: "bo", tag: Tag::from_bytes(b"TIB ") }, // Tibetan
181 LangTag { language: "bpd", tag: Tag::from_bytes(b"BAD0") }, // Banda-Banda -> Banda
182 LangTag { language: "bpl", tag: Tag::from_bytes(b"CPP ") }, // Broome Pearling Lugger Pidgin -> Creoles
183 LangTag { language: "bpq", tag: Tag::from_bytes(b"CPP ") }, // Banda Malay -> Creoles
184// LangTag { language: "bpy", tag: Tag::from_bytes(b"BPY ") }, // Bishnupriya -> Bishnupriya Manipuri
185 LangTag { language: "bqi", tag: Tag::from_bytes(b"LRC ") }, // Bakhtiari -> Luri
186 LangTag { language: "bqk", tag: Tag::from_bytes(b"BAD0") }, // Banda-Mbrès -> Banda
187 LangTag { language: "br", tag: Tag::from_bytes(b"BRE ") }, // Breton
188 LangTag { language: "bra", tag: Tag::from_bytes(b"BRI ") }, // Braj -> Braj Bhasha
189 LangTag { language: "brc", tag: Tag::from_bytes(b"CPP ") }, // Berbice Creole Dutch -> Creoles
190// LangTag { language: "brh", tag: Tag::from_bytes(b"BRH ") }, // Brahui
191 LangTag { language: "bri", tag: Tag(0) }, // Mokpwe != Braj Bhasha
192 LangTag { language: "brm", tag: Tag(0) }, // Barambu != Burmese
193// LangTag { language: "brx", tag: Tag::from_bytes(b"BRX ") }, // Bodo (India)
194 LangTag { language: "bs", tag: Tag::from_bytes(b"BOS ") }, // Bosnian
195 LangTag { language: "bsh", tag: Tag(0) }, // Kati != Bashkir
196// LangTag { language: "bsk", tag: Tag::from_bytes(b"BSK ") }, // Burushaski
197 LangTag { language: "btb", tag: Tag::from_bytes(b"BTI ") }, // Beti (Cameroon)(retired code)
198 LangTag { language: "btd", tag: Tag::from_bytes(b"BTD ") }, // Batak Dairi (Pakpak)
199 LangTag { language: "btd", tag: Tag::from_bytes(b"BTK ") }, // Batak Dairi -> Batak
200 LangTag { language: "bti", tag: Tag(0) }, // Burate != Beti
201 LangTag { language: "btj", tag: Tag::from_bytes(b"MLY ") }, // Bacanese Malay -> Malay
202// LangTag { language: "btk", tag: Tag::from_bytes(b"BTK ") }, // Batak [family]
203 LangTag { language: "btm", tag: Tag::from_bytes(b"BTM ") }, // Batak Mandailing
204 LangTag { language: "btm", tag: Tag::from_bytes(b"BTK ") }, // Batak Mandailing -> Batak
205 LangTag { language: "bto", tag: Tag::from_bytes(b"BIK ") }, // Rinconada Bikol -> Bikol
206 LangTag { language: "bts", tag: Tag::from_bytes(b"BTS ") }, // Batak Simalungun
207 LangTag { language: "bts", tag: Tag::from_bytes(b"BTK ") }, // Batak Simalungun -> Batak
208 LangTag { language: "btx", tag: Tag::from_bytes(b"BTX ") }, // Batak Karo
209 LangTag { language: "btx", tag: Tag::from_bytes(b"BTK ") }, // Batak Karo -> Batak
210 LangTag { language: "btz", tag: Tag::from_bytes(b"BTZ ") }, // Batak Alas-Kluet
211 LangTag { language: "btz", tag: Tag::from_bytes(b"BTK ") }, // Batak Alas-Kluet -> Batak
212// LangTag { language: "bug", tag: Tag::from_bytes(b"BUG ") }, // Buginese -> Bugis
213 LangTag { language: "bum", tag: Tag::from_bytes(b"BTI ") }, // Bulu (Cameroon) -> Beti
214 LangTag { language: "bve", tag: Tag::from_bytes(b"MLY ") }, // Berau Malay -> Malay
215 LangTag { language: "bvu", tag: Tag::from_bytes(b"MLY ") }, // Bukit Malay -> Malay
216 LangTag { language: "bwe", tag: Tag::from_bytes(b"KRN ") }, // Bwe Karen -> Karen
217 LangTag { language: "bxk", tag: Tag::from_bytes(b"LUH ") }, // Bukusu -> Luyia
218 LangTag { language: "bxo", tag: Tag::from_bytes(b"CPP ") }, // Barikanchi -> Creoles
219 LangTag { language: "bxp", tag: Tag::from_bytes(b"BTI ") }, // Bebil -> Beti
220 LangTag { language: "bxr", tag: Tag::from_bytes(b"RBU ") }, // Russia Buriat -> Russian Buriat
221 LangTag { language: "byn", tag: Tag::from_bytes(b"BIL ") }, // Bilin -> Bilen
222 LangTag { language: "byv", tag: Tag::from_bytes(b"BYV ") }, // Medumba
223 LangTag { language: "byv", tag: Tag::from_bytes(b"BML ") }, // Medumba -> Bamileke
224 LangTag { language: "bzc", tag: Tag::from_bytes(b"MLG ") }, // Southern Betsimisaraka Malagasy -> Malagasy
225 LangTag { language: "bzj", tag: Tag::from_bytes(b"CPP ") }, // Belize Kriol English -> Creoles
226 LangTag { language: "bzk", tag: Tag::from_bytes(b"CPP ") }, // Nicaragua Creole English -> Creoles
227 LangTag { language: "ca", tag: Tag::from_bytes(b"CAT ") }, // Catalan
228 LangTag { language: "caa", tag: Tag::from_bytes(b"MYN ") }, // Chortí -> Mayan
229 LangTag { language: "cac", tag: Tag::from_bytes(b"MYN ") }, // Chuj -> Mayan
230 LangTag { language: "caf", tag: Tag::from_bytes(b"CRR ") }, // Southern Carrier -> Carrier
231 LangTag { language: "caf", tag: Tag::from_bytes(b"ATH ") }, // Southern Carrier -> Athapaskan
232 LangTag { language: "cak", tag: Tag::from_bytes(b"CAK ") }, // Kaqchikel
233 LangTag { language: "cak", tag: Tag::from_bytes(b"MYN ") }, // Kaqchikel -> Mayan
234 LangTag { language: "cbk", tag: Tag::from_bytes(b"CBK ") }, // Chavacano -> Zamboanga Chavacano
235 LangTag { language: "cbk", tag: Tag::from_bytes(b"CPP ") }, // Chavacano -> Creoles
236 LangTag { language: "cbl", tag: Tag::from_bytes(b"QIN ") }, // Bualkhaw Chin -> Chin
237 LangTag { language: "ccl", tag: Tag::from_bytes(b"CPP ") }, // Cutchi-Swahili -> Creoles
238 LangTag { language: "ccm", tag: Tag::from_bytes(b"CPP ") }, // Malaccan Creole Malay -> Creoles
239 LangTag { language: "cco", tag: Tag::from_bytes(b"CCHN") }, // Comaltepec Chinantec -> Chinantec
240 LangTag { language: "ccq", tag: Tag::from_bytes(b"ARK ") }, // Chaungtha(retired code) -> Rakhine
241 LangTag { language: "cdo", tag: Tag::from_bytes(b"ZHS ") }, // Min Dong Chinese -> Chinese, Simplified
242 LangTag { language: "ce", tag: Tag::from_bytes(b"CHE ") }, // Chechen
243// LangTag { language: "ceb", tag: Tag::from_bytes(b"CEB ") }, // Cebuano
244 LangTag { language: "cek", tag: Tag::from_bytes(b"QIN ") }, // Eastern Khumi Chin -> Chin
245 LangTag { language: "cey", tag: Tag::from_bytes(b"QIN ") }, // Ekai Chin -> Chin
246 LangTag { language: "cfm", tag: Tag::from_bytes(b"HAL ") }, // Halam (Falam Chin)
247 LangTag { language: "cfm", tag: Tag::from_bytes(b"QIN ") }, // Falam Chin -> Chin
248// LangTag { language: "cgg", tag: Tag::from_bytes(b"CGG ") }, // Chiga
249 LangTag { language: "ch", tag: Tag::from_bytes(b"CHA ") }, // Chamorro
250 LangTag { language: "chf", tag: Tag::from_bytes(b"MYN ") }, // Tabasco Chontal -> Mayan
251 LangTag { language: "chg", tag: Tag(0) }, // Chagatai != Chaha Gurage
252 LangTag { language: "chh", tag: Tag(0) }, // Chinook != Chattisgarhi
253 LangTag { language: "chj", tag: Tag::from_bytes(b"CCHN") }, // Ojitlán Chinantec -> Chinantec
254 LangTag { language: "chk", tag: Tag::from_bytes(b"CHK0") }, // Chuukese
255 LangTag { language: "chn", tag: Tag::from_bytes(b"CPP ") }, // Chinook jargon -> Creoles
256// LangTag { language: "cho", tag: Tag::from_bytes(b"CHO ") }, // Choctaw
257 LangTag { language: "chp", tag: Tag::from_bytes(b"CHP ") }, // Chipewyan
258 LangTag { language: "chp", tag: Tag::from_bytes(b"SAY ") }, // Chipewyan -> Sayisi
259 LangTag { language: "chp", tag: Tag::from_bytes(b"ATH ") }, // Chipewyan -> Athapaskan
260 LangTag { language: "chq", tag: Tag::from_bytes(b"CCHN") }, // Quiotepec Chinantec -> Chinantec
261// LangTag { language: "chr", tag: Tag::from_bytes(b"CHR ") }, // Cherokee
262// LangTag { language: "chy", tag: Tag::from_bytes(b"CHY ") }, // Cheyenne
263 LangTag { language: "chz", tag: Tag::from_bytes(b"CCHN") }, // Ozumacín Chinantec -> Chinantec
264 LangTag { language: "ciw", tag: Tag::from_bytes(b"OJB ") }, // Chippewa -> Ojibway
265// LangTag { language: "cja", tag: Tag::from_bytes(b"CJA ") }, // Western Cham
266// LangTag { language: "cjm", tag: Tag::from_bytes(b"CJM ") }, // Eastern Cham
267 LangTag { language: "cjy", tag: Tag::from_bytes(b"ZHS ") }, // Jinyu Chinese -> Chinese, Simplified
268 LangTag { language: "cka", tag: Tag::from_bytes(b"QIN ") }, // Khumi Awa Chin(retired code) -> Chin
269 LangTag { language: "ckb", tag: Tag::from_bytes(b"KUR ") }, // Central Kurdish -> Kurdish
270 LangTag { language: "ckn", tag: Tag::from_bytes(b"QIN ") }, // Kaang Chin -> Chin
271 LangTag { language: "cks", tag: Tag::from_bytes(b"CPP ") }, // Tayo -> Creoles
272 LangTag { language: "ckt", tag: Tag::from_bytes(b"CHK ") }, // Chukot -> Chukchi
273 LangTag { language: "ckz", tag: Tag::from_bytes(b"MYN ") }, // Cakchiquel-Quiché Mixed Language -> Mayan
274 LangTag { language: "clc", tag: Tag::from_bytes(b"ATH ") }, // Chilcotin -> Athapaskan
275 LangTag { language: "cld", tag: Tag::from_bytes(b"SYR ") }, // Chaldean Neo-Aramaic -> Syriac
276 LangTag { language: "cle", tag: Tag::from_bytes(b"CCHN") }, // Lealao Chinantec -> Chinantec
277 LangTag { language: "clj", tag: Tag::from_bytes(b"QIN ") }, // Laitu Chin -> Chin
278 LangTag { language: "clt", tag: Tag::from_bytes(b"QIN ") }, // Lautu Chin -> Chin
279 LangTag { language: "cmn", tag: Tag::from_bytes(b"ZHS ") }, // Mandarin Chinese -> Chinese, Simplified
280 LangTag { language: "cmr", tag: Tag::from_bytes(b"QIN ") }, // Mro-Khimi Chin -> Chin
281 LangTag { language: "cnb", tag: Tag::from_bytes(b"QIN ") }, // Chinbon Chin -> Chin
282 LangTag { language: "cnh", tag: Tag::from_bytes(b"QIN ") }, // Hakha Chin -> Chin
283 LangTag { language: "cnk", tag: Tag::from_bytes(b"QIN ") }, // Khumi Chin -> Chin
284 LangTag { language: "cnl", tag: Tag::from_bytes(b"CCHN") }, // Lalana Chinantec -> Chinantec
285 LangTag { language: "cnp", tag: Tag::from_bytes(b"ZHS ") }, // Northern Ping Chinese -> Chinese, Simplified
286 LangTag { language: "cnr", tag: Tag::from_bytes(b"SRB ") }, // Montenegrin -> Serbian
287 LangTag { language: "cnt", tag: Tag::from_bytes(b"CCHN") }, // Tepetotutla Chinantec -> Chinantec
288 LangTag { language: "cnu", tag: Tag::from_bytes(b"BBR ") }, // Chenoua -> Berber
289 LangTag { language: "cnw", tag: Tag::from_bytes(b"QIN ") }, // Ngawn Chin -> Chin
290 LangTag { language: "co", tag: Tag::from_bytes(b"COS ") }, // Corsican
291 LangTag { language: "coa", tag: Tag::from_bytes(b"MLY ") }, // Cocos Islands Malay -> Malay
292 LangTag { language: "cob", tag: Tag::from_bytes(b"MYN ") }, // Chicomuceltec -> Mayan
293// LangTag { language: "cop", tag: Tag::from_bytes(b"COP ") }, // Coptic
294 LangTag { language: "coq", tag: Tag::from_bytes(b"ATH ") }, // Coquille -> Athapaskan
295 LangTag { language: "cpa", tag: Tag::from_bytes(b"CCHN") }, // Palantla Chinantec -> Chinantec
296 LangTag { language: "cpe", tag: Tag::from_bytes(b"CPP ") }, // English-based creoles and pidgins [family] -> Creoles
297 LangTag { language: "cpf", tag: Tag::from_bytes(b"CPP ") }, // French-based creoles and pidgins [family] -> Creoles
298 LangTag { language: "cpi", tag: Tag::from_bytes(b"CPP ") }, // Chinese Pidgin English -> Creoles
299// LangTag { language: "cpp", tag: Tag::from_bytes(b"CPP ") }, // Portuguese-based creoles and pidgins [family] -> Creoles
300 LangTag { language: "cpx", tag: Tag::from_bytes(b"ZHS ") }, // Pu-Xian Chinese -> Chinese, Simplified
301 LangTag { language: "cqd", tag: Tag::from_bytes(b"HMN ") }, // Chuanqiandian Cluster Miao -> Hmong
302 LangTag { language: "cqu", tag: Tag::from_bytes(b"QUH ") }, // Chilean Quechua(retired code) -> Quechua (Bolivia)
303 LangTag { language: "cqu", tag: Tag::from_bytes(b"QUZ ") }, // Chilean Quechua(retired code) -> Quechua
304 LangTag { language: "cr", tag: Tag::from_bytes(b"CRE ") }, // Cree [macrolanguage]
305 LangTag { language: "crh", tag: Tag::from_bytes(b"CRT ") }, // Crimean Tatar
306 LangTag { language: "cri", tag: Tag::from_bytes(b"CPP ") }, // Sãotomense -> Creoles
307 LangTag { language: "crj", tag: Tag::from_bytes(b"ECR ") }, // Southern East Cree -> Eastern Cree
308 LangTag { language: "crj", tag: Tag::from_bytes(b"YCR ") }, // Southern East Cree -> Y-Cree
309 LangTag { language: "crj", tag: Tag::from_bytes(b"CRE ") }, // Southern East Cree -> Cree
310 LangTag { language: "crk", tag: Tag::from_bytes(b"WCR ") }, // Plains Cree -> West-Cree
311 LangTag { language: "crk", tag: Tag::from_bytes(b"YCR ") }, // Plains Cree -> Y-Cree
312 LangTag { language: "crk", tag: Tag::from_bytes(b"CRE ") }, // Plains Cree -> Cree
313 LangTag { language: "crl", tag: Tag::from_bytes(b"ECR ") }, // Northern East Cree -> Eastern Cree
314 LangTag { language: "crl", tag: Tag::from_bytes(b"YCR ") }, // Northern East Cree -> Y-Cree
315 LangTag { language: "crl", tag: Tag::from_bytes(b"CRE ") }, // Northern East Cree -> Cree
316 LangTag { language: "crm", tag: Tag::from_bytes(b"MCR ") }, // Moose Cree
317 LangTag { language: "crm", tag: Tag::from_bytes(b"LCR ") }, // Moose Cree -> L-Cree
318 LangTag { language: "crm", tag: Tag::from_bytes(b"CRE ") }, // Moose Cree -> Cree
319 LangTag { language: "crp", tag: Tag::from_bytes(b"CPP ") }, // Creoles and pidgins [family] -> Creoles
320 LangTag { language: "crr", tag: Tag(0) }, // Carolina Algonquian != Carrier
321 LangTag { language: "crs", tag: Tag::from_bytes(b"CPP ") }, // Seselwa Creole French -> Creoles
322 LangTag { language: "crt", tag: Tag(0) }, // Iyojwa'ja Chorote != Crimean Tatar
323 LangTag { language: "crx", tag: Tag::from_bytes(b"CRR ") }, // Carrier
324 LangTag { language: "crx", tag: Tag::from_bytes(b"ATH ") }, // Carrier -> Athapaskan
325 LangTag { language: "cs", tag: Tag::from_bytes(b"CSY ") }, // Czech
326 LangTag { language: "csa", tag: Tag::from_bytes(b"CCHN") }, // Chiltepec Chinantec -> Chinantec
327// LangTag { language: "csb", tag: Tag::from_bytes(b"CSB ") }, // Kashubian
328 LangTag { language: "csh", tag: Tag::from_bytes(b"QIN ") }, // Asho Chin -> Chin
329 LangTag { language: "csj", tag: Tag::from_bytes(b"QIN ") }, // Songlai Chin -> Chin
330 LangTag { language: "csl", tag: Tag(0) }, // Chinese Sign Language != Church Slavonic
331 LangTag { language: "cso", tag: Tag::from_bytes(b"CCHN") }, // Sochiapam Chinantec -> Chinantec
332 LangTag { language: "csp", tag: Tag::from_bytes(b"ZHS ") }, // Southern Ping Chinese -> Chinese, Simplified
333 LangTag { language: "csv", tag: Tag::from_bytes(b"QIN ") }, // Sumtu Chin -> Chin
334 LangTag { language: "csw", tag: Tag::from_bytes(b"NCR ") }, // Swampy Cree -> N-Cree
335 LangTag { language: "csw", tag: Tag::from_bytes(b"NHC ") }, // Swampy Cree -> Norway House Cree
336 LangTag { language: "csw", tag: Tag::from_bytes(b"CRE ") }, // Swampy Cree -> Cree
337 LangTag { language: "csy", tag: Tag::from_bytes(b"QIN ") }, // Siyin Chin -> Chin
338 LangTag { language: "ctc", tag: Tag::from_bytes(b"ATH ") }, // Chetco -> Athapaskan
339 LangTag { language: "ctd", tag: Tag::from_bytes(b"QIN ") }, // Tedim Chin -> Chin
340 LangTag { language: "cte", tag: Tag::from_bytes(b"CCHN") }, // Tepinapa Chinantec -> Chinantec
341// LangTag { language: "ctg", tag: Tag::from_bytes(b"CTG ") }, // Chittagonian
342 LangTag { language: "cth", tag: Tag::from_bytes(b"QIN ") }, // Thaiphum Chin -> Chin
343 LangTag { language: "ctl", tag: Tag::from_bytes(b"CCHN") }, // Tlacoatzintepec Chinantec -> Chinantec
344 LangTag { language: "cts", tag: Tag::from_bytes(b"BIK ") }, // Northern Catanduanes Bikol -> Bikol
345// LangTag { language: "ctt", tag: Tag::from_bytes(b"CTT ") }, // Wayanad Chetti
346 LangTag { language: "ctu", tag: Tag::from_bytes(b"MYN ") }, // Chol -> Mayan
347 LangTag { language: "cu", tag: Tag::from_bytes(b"CSL ") }, // Church Slavonic
348 LangTag { language: "cuc", tag: Tag::from_bytes(b"CCHN") }, // Usila Chinantec -> Chinantec
349// LangTag { language: "cuk", tag: Tag::from_bytes(b"CUK ") }, // San Blas Kuna
350 LangTag { language: "cv", tag: Tag::from_bytes(b"CHU ") }, // Chuvash
351 LangTag { language: "cvn", tag: Tag::from_bytes(b"CCHN") }, // Valle Nacional Chinantec -> Chinantec
352 LangTag { language: "cwd", tag: Tag::from_bytes(b"DCR ") }, // Woods Cree
353 LangTag { language: "cwd", tag: Tag::from_bytes(b"TCR ") }, // Woods Cree -> TH-Cree
354 LangTag { language: "cwd", tag: Tag::from_bytes(b"CRE ") }, // Woods Cree -> Cree
355 LangTag { language: "cy", tag: Tag::from_bytes(b"WEL ") }, // Welsh
356 LangTag { language: "czh", tag: Tag::from_bytes(b"ZHS ") }, // Huizhou Chinese -> Chinese, Simplified
357 LangTag { language: "czo", tag: Tag::from_bytes(b"ZHS ") }, // Min Zhong Chinese -> Chinese, Simplified
358 LangTag { language: "czt", tag: Tag::from_bytes(b"QIN ") }, // Zotung Chin -> Chin
359 LangTag { language: "da", tag: Tag::from_bytes(b"DAN ") }, // Danish
360// LangTag { language: "dag", tag: Tag::from_bytes(b"DAG ") }, // Dagbani
361 LangTag { language: "dao", tag: Tag::from_bytes(b"QIN ") }, // Daai Chin -> Chin
362 LangTag { language: "dap", tag: Tag::from_bytes(b"NIS ") }, // Nisi (India)(retired code)
363// LangTag { language: "dar", tag: Tag::from_bytes(b"DAR ") }, // Dargwa
364// LangTag { language: "dax", tag: Tag::from_bytes(b"DAX ") }, // Dayi
365 LangTag { language: "dcr", tag: Tag::from_bytes(b"CPP ") }, // Negerhollands -> Creoles
366 LangTag { language: "de", tag: Tag::from_bytes(b"DEU ") }, // German
367 LangTag { language: "den", tag: Tag::from_bytes(b"SLA ") }, // Slave (Athapascan) [macrolanguage] -> Slavey
368 LangTag { language: "den", tag: Tag::from_bytes(b"ATH ") }, // Slave (Athapascan) [macrolanguage] -> Athapaskan
369 LangTag { language: "dep", tag: Tag::from_bytes(b"CPP ") }, // Pidgin Delaware -> Creoles
370 LangTag { language: "dgo", tag: Tag::from_bytes(b"DGO ") }, // Dogri (individual language)
371 LangTag { language: "dgo", tag: Tag::from_bytes(b"DGR ") }, // Dogri (macrolanguage)
372 LangTag { language: "dgr", tag: Tag::from_bytes(b"ATH ") }, // Dogrib -> Athapaskan
373 LangTag { language: "dhd", tag: Tag::from_bytes(b"MAW ") }, // Dhundari -> Marwari
374// LangTag { language: "dhg", tag: Tag::from_bytes(b"DHG ") }, // Dhangu
375 LangTag { language: "dhv", tag: Tag(0) }, // Dehu != Divehi (Dhivehi, Maldivian)(deprecated)
376 LangTag { language: "dib", tag: Tag::from_bytes(b"DNK ") }, // South Central Dinka -> Dinka
377 LangTag { language: "dik", tag: Tag::from_bytes(b"DNK ") }, // Southwestern Dinka -> Dinka
378 LangTag { language: "din", tag: Tag::from_bytes(b"DNK ") }, // Dinka [macrolanguage]
379 LangTag { language: "dip", tag: Tag::from_bytes(b"DNK ") }, // Northeastern Dinka -> Dinka
380 LangTag { language: "diq", tag: Tag::from_bytes(b"DIQ ") }, // Dimli
381 LangTag { language: "diq", tag: Tag::from_bytes(b"ZZA ") }, // Dimli -> Zazaki
382 LangTag { language: "diw", tag: Tag::from_bytes(b"DNK ") }, // Northwestern Dinka -> Dinka
383 LangTag { language: "dje", tag: Tag::from_bytes(b"DJR ") }, // Zarma
384 LangTag { language: "djk", tag: Tag::from_bytes(b"CPP ") }, // Eastern Maroon Creole -> Creoles
385 LangTag { language: "djr", tag: Tag::from_bytes(b"DJR0") }, // Djambarrpuyngu
386 LangTag { language: "dks", tag: Tag::from_bytes(b"DNK ") }, // Southeastern Dinka -> Dinka
387 LangTag { language: "dng", tag: Tag::from_bytes(b"DUN ") }, // Dungan
388// LangTag { language: "dnj", tag: Tag::from_bytes(b"DNJ ") }, // Dan
389 LangTag { language: "dnk", tag: Tag(0) }, // Dengka != Dinka
390 LangTag { language: "doi", tag: Tag::from_bytes(b"DGR ") }, // Dogri (macrolanguage) [macrolanguage]
391 LangTag { language: "drh", tag: Tag::from_bytes(b"MNG ") }, // Darkhat(retired code) -> Mongolian
392 LangTag { language: "dri", tag: Tag(0) }, // C'Lela != Dari
393 LangTag { language: "drw", tag: Tag::from_bytes(b"DRI ") }, // Darwazi(retired code) -> Dari
394 LangTag { language: "drw", tag: Tag::from_bytes(b"FAR ") }, // Darwazi(retired code) -> Persian
395 LangTag { language: "dsb", tag: Tag::from_bytes(b"LSB ") }, // Lower Sorbian
396 LangTag { language: "dty", tag: Tag::from_bytes(b"NEP ") }, // Dotyali -> Nepali
397// LangTag { language: "duj", tag: Tag::from_bytes(b"DUJ ") }, // Dhuwal(retired code)
398 LangTag { language: "dun", tag: Tag(0) }, // Dusun Deyah != Dungan
399 LangTag { language: "dup", tag: Tag::from_bytes(b"MLY ") }, // Duano -> Malay
400 LangTag { language: "dv", tag: Tag::from_bytes(b"DIV ") }, // Divehi (Dhivehi, Maldivian)
401 LangTag { language: "dv", tag: Tag::from_bytes(b"DHV ") }, // Divehi (Dhivehi, Maldivian)(deprecated)
402 LangTag { language: "dwk", tag: Tag::from_bytes(b"KUI ") }, // Dawik Kui -> Kui
403 LangTag { language: "dwu", tag: Tag::from_bytes(b"DUJ ") }, // Dhuwal
404 LangTag { language: "dwy", tag: Tag::from_bytes(b"DUJ ") }, // Dhuwaya -> Dhuwal
405 LangTag { language: "dyu", tag: Tag::from_bytes(b"JUL ") }, // Dyula -> Jula
406 LangTag { language: "dz", tag: Tag::from_bytes(b"DZN ") }, // Dzongkha
407 LangTag { language: "dzn", tag: Tag(0) }, // Dzando != Dzongkha
408 LangTag { language: "ecr", tag: Tag(0) }, // Eteocretan != Eastern Cree
409 LangTag { language: "ee", tag: Tag::from_bytes(b"EWE ") }, // Ewe
410// LangTag { language: "efi", tag: Tag::from_bytes(b"EFI ") }, // Efik
411 LangTag { language: "ekk", tag: Tag::from_bytes(b"ETI ") }, // Standard Estonian -> Estonian
412 LangTag { language: "eky", tag: Tag::from_bytes(b"KRN ") }, // Eastern Kayah -> Karen
413 LangTag { language: "el", tag: Tag::from_bytes(b"ELL ") }, // Modern Greek (1453-) -> Greek
414 LangTag { language: "emk", tag: Tag::from_bytes(b"EMK ") }, // Eastern Maninkakan
415 LangTag { language: "emk", tag: Tag::from_bytes(b"MNK ") }, // Eastern Maninkakan -> Maninka
416 LangTag { language: "emy", tag: Tag::from_bytes(b"MYN ") }, // Epigraphic Mayan -> Mayan
417 LangTag { language: "en", tag: Tag::from_bytes(b"ENG ") }, // English
418 LangTag { language: "enb", tag: Tag::from_bytes(b"KAL ") }, // Markweeta -> Kalenjin
419 LangTag { language: "enf", tag: Tag::from_bytes(b"FNE ") }, // Forest Enets
420 LangTag { language: "enh", tag: Tag::from_bytes(b"TNE ") }, // Tundra Enets
421 LangTag { language: "eo", tag: Tag::from_bytes(b"NTO ") }, // Esperanto
422 LangTag { language: "es", tag: Tag::from_bytes(b"ESP ") }, // Spanish
423 LangTag { language: "esg", tag: Tag::from_bytes(b"GON ") }, // Aheri Gondi -> Gondi
424 LangTag { language: "esi", tag: Tag::from_bytes(b"IPK ") }, // North Alaskan Inupiatun -> Inupiat
425 LangTag { language: "esk", tag: Tag::from_bytes(b"IPK ") }, // Northwest Alaska Inupiatun -> Inupiat
426// LangTag { language: "esu", tag: Tag::from_bytes(b"ESU ") }, // Central Yupik
427 LangTag { language: "et", tag: Tag::from_bytes(b"ETI ") }, // Estonian [macrolanguage]
428 LangTag { language: "eto", tag: Tag::from_bytes(b"BTI ") }, // Eton (Cameroon) -> Beti
429 LangTag { language: "eu", tag: Tag::from_bytes(b"EUQ ") }, // Basque
430 LangTag { language: "euq", tag: Tag(0) }, // Basque [family] != Basque
431 LangTag { language: "eve", tag: Tag::from_bytes(b"EVN ") }, // Even
432 LangTag { language: "evn", tag: Tag::from_bytes(b"EVK ") }, // Evenki
433 LangTag { language: "ewo", tag: Tag::from_bytes(b"BTI ") }, // Ewondo -> Beti
434 LangTag { language: "eyo", tag: Tag::from_bytes(b"KAL ") }, // Keiyo -> Kalenjin
435 LangTag { language: "fa", tag: Tag::from_bytes(b"FAR ") }, // Persian [macrolanguage]
436 LangTag { language: "fab", tag: Tag::from_bytes(b"CPP ") }, // Fa d'Ambu -> Creoles
437 LangTag { language: "fan", tag: Tag::from_bytes(b"FAN0") }, // Fang (Equatorial Guinea)
438 LangTag { language: "fan", tag: Tag::from_bytes(b"BTI ") }, // Fang (Equatorial Guinea) -> Beti
439 LangTag { language: "far", tag: Tag(0) }, // Fataleka != Persian
440 LangTag { language: "fat", tag: Tag::from_bytes(b"FAT ") }, // Fanti
441 LangTag { language: "fat", tag: Tag::from_bytes(b"AKA ") }, // Fanti -> Akan
442 LangTag { language: "fbl", tag: Tag::from_bytes(b"BIK ") }, // West Albay Bikol -> Bikol
443 LangTag { language: "ff", tag: Tag::from_bytes(b"FUL ") }, // Fulah [macrolanguage]
444 LangTag { language: "ffm", tag: Tag::from_bytes(b"FUL ") }, // Maasina Fulfulde -> Fulah
445 LangTag { language: "fi", tag: Tag::from_bytes(b"FIN ") }, // Finnish
446 LangTag { language: "fil", tag: Tag::from_bytes(b"PIL ") }, // Filipino
447 LangTag { language: "fj", tag: Tag::from_bytes(b"FJI ") }, // Fijian
448 LangTag { language: "flm", tag: Tag::from_bytes(b"HAL ") }, // Halam (Falam Chin)(retired code)
449 LangTag { language: "flm", tag: Tag::from_bytes(b"QIN ") }, // Falam Chin(retired code) -> Chin
450 LangTag { language: "fmp", tag: Tag::from_bytes(b"FMP ") }, // Fe’fe’
451 LangTag { language: "fmp", tag: Tag::from_bytes(b"BML ") }, // Fe'fe' -> Bamileke
452 LangTag { language: "fng", tag: Tag::from_bytes(b"CPP ") }, // Fanagalo -> Creoles
453 LangTag { language: "fo", tag: Tag::from_bytes(b"FOS ") }, // Faroese
454// LangTag { language: "fon", tag: Tag::from_bytes(b"FON ") }, // Fon
455 LangTag { language: "fos", tag: Tag(0) }, // Siraya != Faroese
456 LangTag { language: "fpe", tag: Tag::from_bytes(b"CPP ") }, // Fernando Po Creole English -> Creoles
457 LangTag { language: "fr", tag: Tag::from_bytes(b"FRA ") }, // French
458// LangTag { language: "frc", tag: Tag::from_bytes(b"FRC ") }, // Cajun French
459// LangTag { language: "frp", tag: Tag::from_bytes(b"FRP ") }, // Arpitan
460 LangTag { language: "fub", tag: Tag::from_bytes(b"FUL ") }, // Adamawa Fulfulde -> Fulah
461 LangTag { language: "fuc", tag: Tag::from_bytes(b"FUL ") }, // Pulaar -> Fulah
462 LangTag { language: "fue", tag: Tag::from_bytes(b"FUL ") }, // Borgu Fulfulde -> Fulah
463 LangTag { language: "fuf", tag: Tag::from_bytes(b"FTA ") }, // Pular -> Futa
464 LangTag { language: "fuf", tag: Tag::from_bytes(b"FUL ") }, // Pular -> Fulah
465 LangTag { language: "fuh", tag: Tag::from_bytes(b"FUL ") }, // Western Niger Fulfulde -> Fulah
466 LangTag { language: "fui", tag: Tag::from_bytes(b"FUL ") }, // Bagirmi Fulfulde -> Fulah
467 LangTag { language: "fuq", tag: Tag::from_bytes(b"FUL ") }, // Central-Eastern Niger Fulfulde -> Fulah
468 LangTag { language: "fur", tag: Tag::from_bytes(b"FRL ") }, // Friulian
469 LangTag { language: "fuv", tag: Tag::from_bytes(b"FUV ") }, // Nigerian Fulfulde
470 LangTag { language: "fuv", tag: Tag::from_bytes(b"FUL ") }, // Nigerian Fulfulde -> Fulah
471 LangTag { language: "fy", tag: Tag::from_bytes(b"FRI ") }, // Western Frisian -> Frisian
472 LangTag { language: "ga", tag: Tag::from_bytes(b"IRI ") }, // Irish
473 LangTag { language: "gaa", tag: Tag::from_bytes(b"GAD ") }, // Ga
474 LangTag { language: "gac", tag: Tag::from_bytes(b"CPP ") }, // Mixed Great Andamanese -> Creoles
475 LangTag { language: "gad", tag: Tag(0) }, // Gaddang != Ga
476 LangTag { language: "gae", tag: Tag(0) }, // Guarequena != Scottish Gaelic (Gaelic)
477// LangTag { language: "gag", tag: Tag::from_bytes(b"GAG ") }, // Gagauz
478 LangTag { language: "gal", tag: Tag(0) }, // Galolen != Galician
479 LangTag { language: "gan", tag: Tag::from_bytes(b"ZHS ") }, // Gan Chinese -> Chinese, Simplified
480 LangTag { language: "gar", tag: Tag(0) }, // Galeya != Garshuni
481 LangTag { language: "gaw", tag: Tag(0) }, // Nobonob != Garhwali
482 LangTag { language: "gax", tag: Tag::from_bytes(b"ORO ") }, // Borana-Arsi-Guji Oromo -> Oromo
483 LangTag { language: "gaz", tag: Tag::from_bytes(b"ORO ") }, // West Central Oromo -> Oromo
484 LangTag { language: "gbm", tag: Tag::from_bytes(b"GAW ") }, // Garhwali
485 LangTag { language: "gce", tag: Tag::from_bytes(b"ATH ") }, // Galice -> Athapaskan
486 LangTag { language: "gcf", tag: Tag::from_bytes(b"CPP ") }, // Guadeloupean Creole French -> Creoles
487 LangTag { language: "gcl", tag: Tag::from_bytes(b"CPP ") }, // Grenadian Creole English -> Creoles
488 LangTag { language: "gcr", tag: Tag::from_bytes(b"CPP ") }, // Guianese Creole French -> Creoles
489 LangTag { language: "gd", tag: Tag::from_bytes(b"GAE ") }, // Scottish Gaelic (Gaelic)
490 LangTag { language: "gda", tag: Tag::from_bytes(b"RAJ ") }, // Gade Lohar -> Rajasthani
491// LangTag { language: "gez", tag: Tag::from_bytes(b"GEZ ") }, // Geez
492 LangTag { language: "ggo", tag: Tag::from_bytes(b"GON ") }, // Southern Gondi(retired code) -> Gondi
493 LangTag { language: "gha", tag: Tag::from_bytes(b"BBR ") }, // Ghadamès -> Berber
494 LangTag { language: "ghk", tag: Tag::from_bytes(b"KRN ") }, // Geko Karen -> Karen
495 LangTag { language: "gho", tag: Tag::from_bytes(b"BBR ") }, // Ghomara -> Berber
496 LangTag { language: "gib", tag: Tag::from_bytes(b"CPP ") }, // Gibanawa -> Creoles
497// LangTag { language: "gih", tag: Tag::from_bytes(b"GIH ") }, // Githabul
498 LangTag { language: "gil", tag: Tag::from_bytes(b"GIL0") }, // Kiribati (Gilbertese)
499 LangTag { language: "gju", tag: Tag::from_bytes(b"RAJ ") }, // Gujari -> Rajasthani
500 LangTag { language: "gkp", tag: Tag::from_bytes(b"GKP ") }, // Guinea Kpelle -> Kpelle (Guinea)
501 LangTag { language: "gkp", tag: Tag::from_bytes(b"KPL ") }, // Guinea Kpelle -> Kpelle
502 LangTag { language: "gl", tag: Tag::from_bytes(b"GAL ") }, // Galician
503 LangTag { language: "gld", tag: Tag::from_bytes(b"NAN ") }, // Nanai
504// LangTag { language: "glk", tag: Tag::from_bytes(b"GLK ") }, // Gilaki
505 LangTag { language: "gmz", tag: Tag(0) }, // Mgbolizhia != Gumuz
506 LangTag { language: "gn", tag: Tag::from_bytes(b"GUA ") }, // Guarani [macrolanguage]
507 LangTag { language: "gnb", tag: Tag::from_bytes(b"QIN ") }, // Gangte -> Chin
508// LangTag { language: "gnn", tag: Tag::from_bytes(b"GNN ") }, // Gumatj
509 LangTag { language: "gno", tag: Tag::from_bytes(b"GON ") }, // Northern Gondi -> Gondi
510 LangTag { language: "gnw", tag: Tag::from_bytes(b"GUA ") }, // Western Bolivian Guaraní -> Guarani
511// LangTag { language: "gog", tag: Tag::from_bytes(b"GOG ") }, // Gogo
512 LangTag { language: "gom", tag: Tag::from_bytes(b"KOK ") }, // Goan Konkani -> Konkani
513// LangTag { language: "gon", tag: Tag::from_bytes(b"GON ") }, // Gondi [macrolanguage]
514 LangTag { language: "goq", tag: Tag::from_bytes(b"CPP ") }, // Gorap -> Creoles
515 LangTag { language: "gox", tag: Tag::from_bytes(b"BAD0") }, // Gobu -> Banda
516 LangTag { language: "gpe", tag: Tag::from_bytes(b"CPP ") }, // Ghanaian Pidgin English -> Creoles
517 LangTag { language: "gro", tag: Tag(0) }, // Groma != Garo
518 LangTag { language: "grr", tag: Tag::from_bytes(b"BBR ") }, // Taznatit -> Berber
519 LangTag { language: "grt", tag: Tag::from_bytes(b"GRO ") }, // Garo
520 LangTag { language: "gru", tag: Tag::from_bytes(b"SOG ") }, // Kistane -> Sodo Gurage
521 LangTag { language: "gsw", tag: Tag::from_bytes(b"ALS ") }, // Alsatian
522 LangTag { language: "gu", tag: Tag::from_bytes(b"GUJ ") }, // Gujarati
523 LangTag { language: "gua", tag: Tag(0) }, // Shiki != Guarani
524// LangTag { language: "guc", tag: Tag::from_bytes(b"GUC ") }, // Wayuu
525// LangTag { language: "guf", tag: Tag::from_bytes(b"GUF ") }, // Gupapuyngu
526 LangTag { language: "gug", tag: Tag::from_bytes(b"GUA ") }, // Paraguayan Guaraní -> Guarani
527 LangTag { language: "gui", tag: Tag::from_bytes(b"GUA ") }, // Eastern Bolivian Guaraní -> Guarani
528 LangTag { language: "guk", tag: Tag::from_bytes(b"GMZ ") }, // Gumuz
529 LangTag { language: "gul", tag: Tag::from_bytes(b"CPP ") }, // Sea Island Creole English -> Creoles
530 LangTag { language: "gun", tag: Tag::from_bytes(b"GUA ") }, // Mbyá Guaraní -> Guarani
531// LangTag { language: "guz", tag: Tag::from_bytes(b"GUZ ") }, // Gusii
532 LangTag { language: "gv", tag: Tag::from_bytes(b"MNX ") }, // Manx
533 LangTag { language: "gwi", tag: Tag::from_bytes(b"ATH ") }, // Gwichʼin -> Athapaskan
534 LangTag { language: "gyn", tag: Tag::from_bytes(b"CPP ") }, // Guyanese Creole English -> Creoles
535 LangTag { language: "ha", tag: Tag::from_bytes(b"HAU ") }, // Hausa
536 LangTag { language: "haa", tag: Tag::from_bytes(b"ATH ") }, // Han -> Athapaskan
537 LangTag { language: "hae", tag: Tag::from_bytes(b"ORO ") }, // Eastern Oromo -> Oromo
538 LangTag { language: "hai", tag: Tag::from_bytes(b"HAI0") }, // Haida [macrolanguage]
539 LangTag { language: "hak", tag: Tag::from_bytes(b"ZHS ") }, // Hakka Chinese -> Chinese, Simplified
540 LangTag { language: "hal", tag: Tag(0) }, // Halang != Halam (Falam Chin)
541 LangTag { language: "har", tag: Tag::from_bytes(b"HRI ") }, // Harari
542// LangTag { language: "haw", tag: Tag::from_bytes(b"HAW ") }, // Hawaiian
543 LangTag { language: "hax", tag: Tag::from_bytes(b"HAI0") }, // Southern Haida -> Haida
544// LangTag { language: "hay", tag: Tag::from_bytes(b"HAY ") }, // Haya
545// LangTag { language: "haz", tag: Tag::from_bytes(b"HAZ ") }, // Hazaragi
546 LangTag { language: "hbn", tag: Tag(0) }, // Heiban != Hammer-Banna
547 LangTag { language: "hca", tag: Tag::from_bytes(b"CPP ") }, // Andaman Creole Hindi -> Creoles
548 LangTag { language: "hdn", tag: Tag::from_bytes(b"HAI0") }, // Northern Haida -> Haida
549 LangTag { language: "he", tag: Tag::from_bytes(b"IWR ") }, // Hebrew
550 LangTag { language: "hea", tag: Tag::from_bytes(b"HMN ") }, // Northern Qiandong Miao -> Hmong
551// LangTag { language: "hei", tag: Tag::from_bytes(b"HEI ") }, // Heiltsuk
552 LangTag { language: "hi", tag: Tag::from_bytes(b"HIN ") }, // Hindi
553// LangTag { language: "hil", tag: Tag::from_bytes(b"HIL ") }, // Hiligaynon
554 LangTag { language: "hji", tag: Tag::from_bytes(b"MLY ") }, // Haji -> Malay
555 LangTag { language: "hlt", tag: Tag::from_bytes(b"QIN ") }, // Matu Chin -> Chin
556 LangTag { language: "hma", tag: Tag::from_bytes(b"HMN ") }, // Southern Mashan Hmong -> Hmong
557 LangTag { language: "hmc", tag: Tag::from_bytes(b"HMN ") }, // Central Huishui Hmong -> Hmong
558 LangTag { language: "hmd", tag: Tag::from_bytes(b"HMD ") }, // Large Flowery Miao -> A-Hmao
559 LangTag { language: "hmd", tag: Tag::from_bytes(b"HMN ") }, // Large Flowery Miao -> Hmong
560 LangTag { language: "hme", tag: Tag::from_bytes(b"HMN ") }, // Eastern Huishui Hmong -> Hmong
561 LangTag { language: "hmg", tag: Tag::from_bytes(b"HMN ") }, // Southwestern Guiyang Hmong -> Hmong
562 LangTag { language: "hmh", tag: Tag::from_bytes(b"HMN ") }, // Southwestern Huishui Hmong -> Hmong
563 LangTag { language: "hmi", tag: Tag::from_bytes(b"HMN ") }, // Northern Huishui Hmong -> Hmong
564 LangTag { language: "hmj", tag: Tag::from_bytes(b"HMN ") }, // Ge -> Hmong
565 LangTag { language: "hml", tag: Tag::from_bytes(b"HMN ") }, // Luopohe Hmong -> Hmong
566 LangTag { language: "hmm", tag: Tag::from_bytes(b"HMN ") }, // Central Mashan Hmong -> Hmong
567// LangTag { language: "hmn", tag: Tag::from_bytes(b"HMN ") }, // Hmong [macrolanguage]
568 LangTag { language: "hmp", tag: Tag::from_bytes(b"HMN ") }, // Northern Mashan Hmong -> Hmong
569 LangTag { language: "hmq", tag: Tag::from_bytes(b"HMN ") }, // Eastern Qiandong Miao -> Hmong
570 LangTag { language: "hmr", tag: Tag::from_bytes(b"QIN ") }, // Hmar -> Chin
571 LangTag { language: "hms", tag: Tag::from_bytes(b"HMN ") }, // Southern Qiandong Miao -> Hmong
572 LangTag { language: "hmw", tag: Tag::from_bytes(b"HMN ") }, // Western Mashan Hmong -> Hmong
573 LangTag { language: "hmy", tag: Tag::from_bytes(b"HMN ") }, // Southern Guiyang Hmong -> Hmong
574 LangTag { language: "hmz", tag: Tag::from_bytes(b"HMZ ") }, // Hmong Shua -> Hmong Shuat
575 LangTag { language: "hmz", tag: Tag::from_bytes(b"HMN ") }, // Hmong Shua -> Hmong
576// LangTag { language: "hnd", tag: Tag::from_bytes(b"HND ") }, // Southern Hindko -> Hindko
577 LangTag { language: "hne", tag: Tag::from_bytes(b"CHH ") }, // Chhattisgarhi -> Chattisgarhi
578 LangTag { language: "hnj", tag: Tag::from_bytes(b"HMN ") }, // Hmong Njua -> Hmong
579 LangTag { language: "hno", tag: Tag::from_bytes(b"HND ") }, // Northern Hindko -> Hindko
580 LangTag { language: "ho", tag: Tag::from_bytes(b"HMO ") }, // Hiri Motu
581 LangTag { language: "ho", tag: Tag::from_bytes(b"CPP ") }, // Hiri Motu -> Creoles
582 LangTag { language: "hoc", tag: Tag::from_bytes(b"HO ") }, // Ho
583 LangTag { language: "hoi", tag: Tag::from_bytes(b"ATH ") }, // Holikachuk -> Athapaskan
584 LangTag { language: "hoj", tag: Tag::from_bytes(b"HAR ") }, // Hadothi -> Harauti
585 LangTag { language: "hoj", tag: Tag::from_bytes(b"RAJ ") }, // Hadothi -> Rajasthani
586 LangTag { language: "hr", tag: Tag::from_bytes(b"HRV ") }, // Croatian
587 LangTag { language: "hra", tag: Tag::from_bytes(b"QIN ") }, // Hrangkhol -> Chin
588 LangTag { language: "hrm", tag: Tag::from_bytes(b"HMN ") }, // Horned Miao -> Hmong
589 LangTag { language: "hsb", tag: Tag::from_bytes(b"USB ") }, // Upper Sorbian
590 LangTag { language: "hsn", tag: Tag::from_bytes(b"ZHS ") }, // Xiang Chinese -> Chinese, Simplified
591 LangTag { language: "ht", tag: Tag::from_bytes(b"HAI ") }, // Haitian (Haitian Creole)
592 LangTag { language: "ht", tag: Tag::from_bytes(b"CPP ") }, // Haitian -> Creoles
593 LangTag { language: "hu", tag: Tag::from_bytes(b"HUN ") }, // Hungarian
594 LangTag { language: "huj", tag: Tag::from_bytes(b"HMN ") }, // Northern Guiyang Hmong -> Hmong
595 LangTag { language: "hup", tag: Tag::from_bytes(b"ATH ") }, // Hupa -> Athapaskan
596 LangTag { language: "hus", tag: Tag::from_bytes(b"MYN ") }, // Huastec -> Mayan
597 LangTag { language: "hwc", tag: Tag::from_bytes(b"CPP ") }, // Hawai'i Creole English -> Creoles
598 LangTag { language: "hy", tag: Tag::from_bytes(b"HYE0") }, // Armenian -> Armenian East
599 LangTag { language: "hy", tag: Tag::from_bytes(b"HYE ") }, // Armenian
600 LangTag { language: "hyw", tag: Tag::from_bytes(b"HYE ") }, // Western Armenian -> Armenian
601 LangTag { language: "hz", tag: Tag::from_bytes(b"HER ") }, // Herero
602 LangTag { language: "ia", tag: Tag::from_bytes(b"INA ") }, // Interlingua (International Auxiliary Language Association)
603// LangTag { language: "iba", tag: Tag::from_bytes(b"IBA ") }, // Iban
604// LangTag { language: "ibb", tag: Tag::from_bytes(b"IBB ") }, // Ibibio
605 LangTag { language: "iby", tag: Tag::from_bytes(b"IJO ") }, // Ibani -> Ijo
606 LangTag { language: "icr", tag: Tag::from_bytes(b"CPP ") }, // Islander Creole English -> Creoles
607 LangTag { language: "id", tag: Tag::from_bytes(b"IND ") }, // Indonesian
608 LangTag { language: "id", tag: Tag::from_bytes(b"MLY ") }, // Indonesian -> Malay
609 LangTag { language: "ida", tag: Tag::from_bytes(b"LUH ") }, // Idakho-Isukha-Tiriki -> Luyia
610 LangTag { language: "idb", tag: Tag::from_bytes(b"CPP ") }, // Indo-Portuguese -> Creoles
611 LangTag { language: "ie", tag: Tag::from_bytes(b"ILE ") }, // Interlingue
612 LangTag { language: "ig", tag: Tag::from_bytes(b"IBO ") }, // Igbo
613 LangTag { language: "igb", tag: Tag::from_bytes(b"EBI ") }, // Ebira
614 LangTag { language: "ihb", tag: Tag::from_bytes(b"CPP ") }, // Iha Based Pidgin -> Creoles
615 LangTag { language: "ii", tag: Tag::from_bytes(b"YIM ") }, // Sichuan Yi -> Yi Modern
616 LangTag { language: "ijc", tag: Tag::from_bytes(b"IJO ") }, // Izon -> Ijo
617 LangTag { language: "ije", tag: Tag::from_bytes(b"IJO ") }, // Biseni -> Ijo
618 LangTag { language: "ijn", tag: Tag::from_bytes(b"IJO ") }, // Kalabari -> Ijo
619// LangTag { language: "ijo", tag: Tag::from_bytes(b"IJO ") }, // Ijo [family]
620 LangTag { language: "ijs", tag: Tag::from_bytes(b"IJO ") }, // Southeast Ijo -> Ijo
621 LangTag { language: "ik", tag: Tag::from_bytes(b"IPK ") }, // Inupiaq [macrolanguage] -> Inupiat
622 LangTag { language: "ike", tag: Tag::from_bytes(b"INU ") }, // Eastern Canadian Inuktitut -> Inuktitut
623 LangTag { language: "ike", tag: Tag::from_bytes(b"INUK") }, // Eastern Canadian Inuktitut -> Nunavik Inuktitut
624 LangTag { language: "ikt", tag: Tag::from_bytes(b"INU ") }, // Inuinnaqtun -> Inuktitut
625 LangTag { language: "ikt", tag: Tag::from_bytes(b"INUK") }, // Inuinnaqtun -> Nunavik Inuktitut
626// LangTag { language: "ilo", tag: Tag::from_bytes(b"ILO ") }, // Iloko -> Ilokano
627 LangTag { language: "in", tag: Tag::from_bytes(b"IND ") }, // Indonesian(retired code)
628 LangTag { language: "in", tag: Tag::from_bytes(b"MLY ") }, // Indonesian(retired code) -> Malay
629 LangTag { language: "ing", tag: Tag::from_bytes(b"ATH ") }, // Degexit'an -> Athapaskan
630 LangTag { language: "inh", tag: Tag::from_bytes(b"ING ") }, // Ingush
631 LangTag { language: "io", tag: Tag::from_bytes(b"IDO ") }, // Ido
632 LangTag { language: "iri", tag: Tag(0) }, // Rigwe != Irish
633// LangTag { language: "iru", tag: Tag::from_bytes(b"IRU ") }, // Irula
634 LangTag { language: "is", tag: Tag::from_bytes(b"ISL ") }, // Icelandic
635 LangTag { language: "ism", tag: Tag(0) }, // Masimasi != Inari Sami
636 LangTag { language: "it", tag: Tag::from_bytes(b"ITA ") }, // Italian
637 LangTag { language: "itz", tag: Tag::from_bytes(b"MYN ") }, // Itzá -> Mayan
638 LangTag { language: "iu", tag: Tag::from_bytes(b"INU ") }, // Inuktitut [macrolanguage]
639 LangTag { language: "iu", tag: Tag::from_bytes(b"INUK") }, // Inuktitut [macrolanguage] -> Nunavik Inuktitut
640 LangTag { language: "iw", tag: Tag::from_bytes(b"IWR ") }, // Hebrew(retired code)
641 LangTag { language: "ixl", tag: Tag::from_bytes(b"MYN ") }, // Ixil -> Mayan
642 LangTag { language: "ja", tag: Tag::from_bytes(b"JAN ") }, // Japanese
643 LangTag { language: "jac", tag: Tag::from_bytes(b"MYN ") }, // Popti' -> Mayan
644 LangTag { language: "jak", tag: Tag::from_bytes(b"MLY ") }, // Jakun -> Malay
645 LangTag { language: "jam", tag: Tag::from_bytes(b"JAM ") }, // Jamaican Creole English -> Jamaican Creole
646 LangTag { language: "jam", tag: Tag::from_bytes(b"CPP ") }, // Jamaican Creole English -> Creoles
647 LangTag { language: "jan", tag: Tag(0) }, // Jandai != Japanese
648 LangTag { language: "jax", tag: Tag::from_bytes(b"MLY ") }, // Jambi Malay -> Malay
649 LangTag { language: "jbe", tag: Tag::from_bytes(b"BBR ") }, // Judeo-Berber -> Berber
650 LangTag { language: "jbn", tag: Tag::from_bytes(b"BBR ") }, // Nafusi -> Berber
651// LangTag { language: "jbo", tag: Tag::from_bytes(b"JBO ") }, // Lojban
652// LangTag { language: "jct", tag: Tag::from_bytes(b"JCT ") }, // Krymchak
653 LangTag { language: "jgo", tag: Tag::from_bytes(b"BML ") }, // Ngomba -> Bamileke
654 LangTag { language: "ji", tag: Tag::from_bytes(b"JII ") }, // Yiddish(retired code)
655 LangTag { language: "jii", tag: Tag(0) }, // Jiiddu != Yiddish
656 LangTag { language: "jkm", tag: Tag::from_bytes(b"KRN ") }, // Mobwa Karen -> Karen
657 LangTag { language: "jkp", tag: Tag::from_bytes(b"KRN ") }, // Paku Karen -> Karen
658 LangTag { language: "jud", tag: Tag(0) }, // Worodougou != Ladino
659 LangTag { language: "jul", tag: Tag(0) }, // Jirel != Jula
660 LangTag { language: "jv", tag: Tag::from_bytes(b"JAV ") }, // Javanese
661 LangTag { language: "jvd", tag: Tag::from_bytes(b"CPP ") }, // Javindo -> Creoles
662 LangTag { language: "jw", tag: Tag::from_bytes(b"JAV ") }, // Javanese(retired code)
663 LangTag { language: "ka", tag: Tag::from_bytes(b"KAT ") }, // Georgian
664 LangTag { language: "kaa", tag: Tag::from_bytes(b"KRK ") }, // Karakalpak
665 LangTag { language: "kab", tag: Tag::from_bytes(b"KAB0") }, // Kabyle
666 LangTag { language: "kab", tag: Tag::from_bytes(b"BBR ") }, // Kabyle -> Berber
667 LangTag { language: "kac", tag: Tag(0) }, // Kachin != Kachchi
668 LangTag { language: "kam", tag: Tag::from_bytes(b"KMB ") }, // Kamba (Kenya)
669 LangTag { language: "kar", tag: Tag::from_bytes(b"KRN ") }, // Karen [family]
670// LangTag { language: "kaw", tag: Tag::from_bytes(b"KAW ") }, // Kawi (Old Javanese)
671 LangTag { language: "kbd", tag: Tag::from_bytes(b"KAB ") }, // Kabardian
672 LangTag { language: "kby", tag: Tag::from_bytes(b"KNR ") }, // Manga Kanuri -> Kanuri
673 LangTag { language: "kca", tag: Tag::from_bytes(b"KHK ") }, // Khanty -> Khanty-Kazim
674 LangTag { language: "kca", tag: Tag::from_bytes(b"KHS ") }, // Khanty -> Khanty-Shurishkar
675 LangTag { language: "kca", tag: Tag::from_bytes(b"KHV ") }, // Khanty -> Khanty-Vakhi
676 LangTag { language: "kcn", tag: Tag::from_bytes(b"CPP ") }, // Nubi -> Creoles
677// LangTag { language: "kde", tag: Tag::from_bytes(b"KDE ") }, // Makonde
678 LangTag { language: "kdr", tag: Tag::from_bytes(b"KRM ") }, // Karaim
679 LangTag { language: "kdt", tag: Tag::from_bytes(b"KUY ") }, // Kuy
680 LangTag { language: "kea", tag: Tag::from_bytes(b"KEA ") }, // Kabuverdianu (Crioulo)
681 LangTag { language: "kea", tag: Tag::from_bytes(b"CPP ") }, // Kabuverdianu -> Creoles
682 LangTag { language: "keb", tag: Tag(0) }, // Kélé != Kebena
683 LangTag { language: "kek", tag: Tag::from_bytes(b"KEK ") }, // Kekchi
684 LangTag { language: "kek", tag: Tag::from_bytes(b"MYN ") }, // Kekchí -> Mayan
685 LangTag { language: "kex", tag: Tag::from_bytes(b"KKN ") }, // Kukna -> Kokni
686 LangTag { language: "kfa", tag: Tag::from_bytes(b"KOD ") }, // Kodava -> Kodagu
687 LangTag { language: "kfr", tag: Tag::from_bytes(b"KAC ") }, // Kachhi -> Kachchi
688 LangTag { language: "kfx", tag: Tag::from_bytes(b"KUL ") }, // Kullu Pahari -> Kulvi
689 LangTag { language: "kfy", tag: Tag::from_bytes(b"KMN ") }, // Kumaoni
690 LangTag { language: "kg", tag: Tag::from_bytes(b"KON0") }, // Kongo [macrolanguage]
691 LangTag { language: "kge", tag: Tag(0) }, // Komering != Khutsuri Georgian
692 LangTag { language: "kha", tag: Tag::from_bytes(b"KSI ") }, // Khasi
693 LangTag { language: "khb", tag: Tag::from_bytes(b"XBD ") }, // Lü
694 LangTag { language: "khk", tag: Tag::from_bytes(b"MNG ") }, // Halh Mongolian -> Mongolian
695 LangTag { language: "khn", tag: Tag(0) }, // Khandesi != Khamti Shan(Microsoft fonts)
696 LangTag { language: "khs", tag: Tag(0) }, // Kasua != Khanty-Shurishkar
697 LangTag { language: "kht", tag: Tag::from_bytes(b"KHT ") }, // Khamti -> Khamti Shan
698 LangTag { language: "kht", tag: Tag::from_bytes(b"KHN ") }, // Khamti -> Khamti Shan(Microsoft fonts)
699 LangTag { language: "khv", tag: Tag(0) }, // Khvarshi != Khanty-Vakhi
700// LangTag { language: "khw", tag: Tag::from_bytes(b"KHW ") }, // Khowar
701 LangTag { language: "ki", tag: Tag::from_bytes(b"KIK ") }, // Kikuyu (Gikuyu)
702 LangTag { language: "kis", tag: Tag(0) }, // Kis != Kisii
703 LangTag { language: "kiu", tag: Tag::from_bytes(b"KIU ") }, // Kirmanjki
704 LangTag { language: "kiu", tag: Tag::from_bytes(b"ZZA ") }, // Kirmanjki -> Zazaki
705 LangTag { language: "kj", tag: Tag::from_bytes(b"KUA ") }, // Kuanyama
706 LangTag { language: "kjb", tag: Tag::from_bytes(b"MYN ") }, // Q'anjob'al -> Mayan
707// LangTag { language: "kjd", tag: Tag::from_bytes(b"KJD ") }, // Southern Kiwai
708 LangTag { language: "kjh", tag: Tag::from_bytes(b"KHA ") }, // Khakas -> Khakass
709 LangTag { language: "kjp", tag: Tag::from_bytes(b"KJP ") }, // Pwo Eastern Karen -> Eastern Pwo Karen
710 LangTag { language: "kjp", tag: Tag::from_bytes(b"KRN ") }, // Pwo Eastern Karen -> Karen
711 LangTag { language: "kjt", tag: Tag::from_bytes(b"KRN ") }, // Phrae Pwo Karen -> Karen
712// LangTag { language: "kjz", tag: Tag::from_bytes(b"KJZ ") }, // Bumthangkha
713 LangTag { language: "kk", tag: Tag::from_bytes(b"KAZ ") }, // Kazakh
714 LangTag { language: "kkn", tag: Tag(0) }, // Kon Keu != Kokni
715 LangTag { language: "kkz", tag: Tag::from_bytes(b"ATH ") }, // Kaska -> Athapaskan
716 LangTag { language: "kl", tag: Tag::from_bytes(b"GRN ") }, // Greenlandic
717 LangTag { language: "klm", tag: Tag(0) }, // Migum != Kalmyk
718 LangTag { language: "kln", tag: Tag::from_bytes(b"KAL ") }, // Kalenjin [macrolanguage]
719 LangTag { language: "km", tag: Tag::from_bytes(b"KHM ") }, // Khmer
720 LangTag { language: "kmb", tag: Tag::from_bytes(b"MBN ") }, // Kimbundu -> Mbundu
721 LangTag { language: "kmn", tag: Tag(0) }, // Awtuw != Kumaoni
722 LangTag { language: "kmo", tag: Tag(0) }, // Kwoma != Komo
723 LangTag { language: "kmr", tag: Tag::from_bytes(b"KUR ") }, // Northern Kurdish -> Kurdish
724 LangTag { language: "kms", tag: Tag(0) }, // Kamasau != Komso
725 LangTag { language: "kmv", tag: Tag::from_bytes(b"CPP ") }, // Karipúna Creole French -> Creoles
726 LangTag { language: "kmw", tag: Tag::from_bytes(b"KMO ") }, // Komo (Democratic Republic of Congo)
727// LangTag { language: "kmz", tag: Tag::from_bytes(b"KMZ ") }, // Khorasani Turkish -> Khorasani Turkic
728 LangTag { language: "kn", tag: Tag::from_bytes(b"KAN ") }, // Kannada
729 LangTag { language: "knc", tag: Tag::from_bytes(b"KNR ") }, // Central Kanuri -> Kanuri
730 LangTag { language: "kng", tag: Tag::from_bytes(b"KON0") }, // Koongo -> Kongo
731 LangTag { language: "knj", tag: Tag::from_bytes(b"MYN ") }, // Western Kanjobal -> Mayan
732 LangTag { language: "knn", tag: Tag::from_bytes(b"KOK ") }, // Konkani
733 LangTag { language: "knr", tag: Tag(0) }, // Kaningra != Kanuri
734 LangTag { language: "ko", tag: Tag::from_bytes(b"KOR ") }, // Korean
735 LangTag { language: "ko", tag: Tag::from_bytes(b"KOH ") }, // Korean -> Korean Old Hangul
736 LangTag { language: "kod", tag: Tag(0) }, // Kodi != Kodagu
737 LangTag { language: "koh", tag: Tag(0) }, // Koyo != Korean Old Hangul
738 LangTag { language: "koi", tag: Tag::from_bytes(b"KOP ") }, // Komi-Permyak
739 LangTag { language: "koi", tag: Tag::from_bytes(b"KOM ") }, // Komi-Permyak -> Komi
740// LangTag { language: "kok", tag: Tag::from_bytes(b"KOK ") }, // Konkani [macrolanguage]
741 LangTag { language: "kop", tag: Tag(0) }, // Waube != Komi-Permyak
742// LangTag { language: "kos", tag: Tag::from_bytes(b"KOS ") }, // Kosraean
743 LangTag { language: "koy", tag: Tag::from_bytes(b"ATH ") }, // Koyukon -> Athapaskan
744 LangTag { language: "koz", tag: Tag(0) }, // Korak != Komi-Zyrian
745 LangTag { language: "kpe", tag: Tag::from_bytes(b"KPL ") }, // Kpelle [macrolanguage]
746 LangTag { language: "kpl", tag: Tag(0) }, // Kpala != Kpelle
747 LangTag { language: "kpp", tag: Tag::from_bytes(b"KRN ") }, // Paku Karen(retired code) -> Karen
748 LangTag { language: "kpv", tag: Tag::from_bytes(b"KOZ ") }, // Komi-Zyrian
749 LangTag { language: "kpv", tag: Tag::from_bytes(b"KOM ") }, // Komi-Zyrian -> Komi
750 LangTag { language: "kpy", tag: Tag::from_bytes(b"KYK ") }, // Koryak
751 LangTag { language: "kqs", tag: Tag::from_bytes(b"KIS ") }, // Northern Kissi -> Kisii
752 LangTag { language: "kqy", tag: Tag::from_bytes(b"KRT ") }, // Koorete
753 LangTag { language: "kr", tag: Tag::from_bytes(b"KNR ") }, // Kanuri [macrolanguage]
754 LangTag { language: "krc", tag: Tag::from_bytes(b"KAR ") }, // Karachay-Balkar -> Karachay
755 LangTag { language: "krc", tag: Tag::from_bytes(b"BAL ") }, // Karachay-Balkar -> Balkar
756 LangTag { language: "kri", tag: Tag::from_bytes(b"KRI ") }, // Krio
757 LangTag { language: "kri", tag: Tag::from_bytes(b"CPP ") }, // Krio -> Creoles
758 LangTag { language: "krk", tag: Tag(0) }, // Kerek != Karakalpak
759// LangTag { language: "krl", tag: Tag::from_bytes(b"KRL ") }, // Karelian
760 LangTag { language: "krm", tag: Tag(0) }, // Krim(retired code) != Karaim
761 LangTag { language: "krn", tag: Tag(0) }, // Sapo != Karen
762 LangTag { language: "krt", tag: Tag::from_bytes(b"KNR ") }, // Tumari Kanuri -> Kanuri
763 LangTag { language: "kru", tag: Tag::from_bytes(b"KUU ") }, // Kurukh
764 LangTag { language: "ks", tag: Tag::from_bytes(b"KSH ") }, // Kashmiri
765 LangTag { language: "ksh", tag: Tag::from_bytes(b"KSH0") }, // Kölsch -> Ripuarian
766 LangTag { language: "ksi", tag: Tag(0) }, // Krisa != Khasi
767 LangTag { language: "ksm", tag: Tag(0) }, // Kumba != Kildin Sami
768 LangTag { language: "kss", tag: Tag::from_bytes(b"KIS ") }, // Southern Kisi -> Kisii
769 LangTag { language: "ksw", tag: Tag::from_bytes(b"KSW ") }, // S’gaw Karen
770 LangTag { language: "ksw", tag: Tag::from_bytes(b"KRN ") }, // S'gaw Karen -> Karen
771 LangTag { language: "ktb", tag: Tag::from_bytes(b"KEB ") }, // Kambaata -> Kebena
772 LangTag { language: "ktu", tag: Tag::from_bytes(b"KON ") }, // Kituba (Democratic Republic of Congo) -> Kikongo
773 LangTag { language: "ktw", tag: Tag::from_bytes(b"ATH ") }, // Kato -> Athapaskan
774 LangTag { language: "ku", tag: Tag::from_bytes(b"KUR ") }, // Kurdish [macrolanguage]
775 LangTag { language: "kui", tag: Tag(0) }, // Kuikúro-Kalapálo != Kui
776 LangTag { language: "kul", tag: Tag(0) }, // Kulere != Kulvi
777// LangTag { language: "kum", tag: Tag::from_bytes(b"KUM ") }, // Kumyk
778 LangTag { language: "kuu", tag: Tag::from_bytes(b"ATH ") }, // Upper Kuskokwim -> Athapaskan
779 LangTag { language: "kuw", tag: Tag::from_bytes(b"BAD0") }, // Kpagua -> Banda
780 LangTag { language: "kuy", tag: Tag(0) }, // Kuuku-Ya'u != Kuy
781 LangTag { language: "kv", tag: Tag::from_bytes(b"KOM ") }, // Komi [macrolanguage]
782 LangTag { language: "kvb", tag: Tag::from_bytes(b"MLY ") }, // Kubu -> Malay
783 LangTag { language: "kvl", tag: Tag::from_bytes(b"KRN ") }, // Kayaw -> Karen
784 LangTag { language: "kvq", tag: Tag::from_bytes(b"KRN ") }, // Geba Karen -> Karen
785 LangTag { language: "kvr", tag: Tag::from_bytes(b"MLY ") }, // Kerinci -> Malay
786 LangTag { language: "kvt", tag: Tag::from_bytes(b"KRN ") }, // Lahta Karen -> Karen
787 LangTag { language: "kvu", tag: Tag::from_bytes(b"KRN ") }, // Yinbaw Karen -> Karen
788 LangTag { language: "kvy", tag: Tag::from_bytes(b"KRN ") }, // Yintale Karen -> Karen
789 LangTag { language: "kw", tag: Tag::from_bytes(b"COR ") }, // Cornish
790// LangTag { language: "kwk", tag: Tag::from_bytes(b"KWK ") }, // Kwakiutl -> Kwakʼwala
791 LangTag { language: "kww", tag: Tag::from_bytes(b"CPP ") }, // Kwinti -> Creoles
792 LangTag { language: "kwy", tag: Tag::from_bytes(b"KON0") }, // San Salvador Kongo -> Kongo
793 LangTag { language: "kxc", tag: Tag::from_bytes(b"KMS ") }, // Konso -> Komso
794 LangTag { language: "kxd", tag: Tag::from_bytes(b"MLY ") }, // Brunei -> Malay
795 LangTag { language: "kxf", tag: Tag::from_bytes(b"KRN ") }, // Manumanaw Karen -> Karen
796 LangTag { language: "kxk", tag: Tag::from_bytes(b"KRN ") }, // Zayein Karen -> Karen
797 LangTag { language: "kxl", tag: Tag::from_bytes(b"KUU ") }, // Nepali Kurux(retired code) -> Kurukh
798 LangTag { language: "kxu", tag: Tag::from_bytes(b"KUI ") }, // Kui (India)(retired code)
799 LangTag { language: "ky", tag: Tag::from_bytes(b"KIR ") }, // Kirghiz (Kyrgyz)
800 LangTag { language: "kyk", tag: Tag(0) }, // Kamayo != Koryak
801 LangTag { language: "kyu", tag: Tag::from_bytes(b"KYU ") }, // Western Kayah
802 LangTag { language: "kyu", tag: Tag::from_bytes(b"KRN ") }, // Western Kayah -> Karen
803 LangTag { language: "la", tag: Tag::from_bytes(b"LAT ") }, // Latin
804 LangTag { language: "lac", tag: Tag::from_bytes(b"MYN ") }, // Lacandon -> Mayan
805 LangTag { language: "lad", tag: Tag::from_bytes(b"JUD ") }, // Ladino
806 LangTag { language: "lah", tag: Tag(0) }, // Lahnda [macrolanguage] != Lahuli
807 LangTag { language: "lak", tag: Tag(0) }, // Laka (Nigeria)(retired code) != Lak
808 LangTag { language: "lam", tag: Tag(0) }, // Lamba != Lambani
809 LangTag { language: "laz", tag: Tag(0) }, // Aribwatsa != Laz
810 LangTag { language: "lb", tag: Tag::from_bytes(b"LTZ ") }, // Luxembourgish
811 LangTag { language: "lbe", tag: Tag::from_bytes(b"LAK ") }, // Lak
812 LangTag { language: "lbj", tag: Tag::from_bytes(b"LDK ") }, // Ladakhi
813 LangTag { language: "lbl", tag: Tag::from_bytes(b"BIK ") }, // Libon Bikol -> Bikol
814 LangTag { language: "lce", tag: Tag::from_bytes(b"MLY ") }, // Loncong -> Malay
815 LangTag { language: "lcf", tag: Tag::from_bytes(b"MLY ") }, // Lubu -> Malay
816 LangTag { language: "ldi", tag: Tag::from_bytes(b"KON0") }, // Laari -> Kongo
817 LangTag { language: "ldk", tag: Tag(0) }, // Leelau != Ladakhi
818// LangTag { language: "lef", tag: Tag::from_bytes(b"LEF ") }, // Lelemi
819// LangTag { language: "lez", tag: Tag::from_bytes(b"LEZ ") }, // Lezghian -> Lezgi
820 LangTag { language: "lg", tag: Tag::from_bytes(b"LUG ") }, // Ganda
821 LangTag { language: "li", tag: Tag::from_bytes(b"LIM ") }, // Limburgish
822 LangTag { language: "lif", tag: Tag::from_bytes(b"LMB ") }, // Limbu
823// LangTag { language: "lij", tag: Tag::from_bytes(b"LIJ ") }, // Ligurian
824 LangTag { language: "lir", tag: Tag::from_bytes(b"CPP ") }, // Liberian English -> Creoles
825// LangTag { language: "lis", tag: Tag::from_bytes(b"LIS ") }, // Lisu
826 LangTag { language: "liw", tag: Tag::from_bytes(b"MLY ") }, // Col -> Malay
827 LangTag { language: "liy", tag: Tag::from_bytes(b"BAD0") }, // Banda-Bambari -> Banda
828// LangTag { language: "ljp", tag: Tag::from_bytes(b"LJP ") }, // Lampung Api -> Lampung
829 LangTag { language: "lkb", tag: Tag::from_bytes(b"LUH ") }, // Kabras -> Luyia
830// LangTag { language: "lki", tag: Tag::from_bytes(b"LKI ") }, // Laki
831 LangTag { language: "lko", tag: Tag::from_bytes(b"LUH ") }, // Khayo -> Luyia
832 LangTag { language: "lks", tag: Tag::from_bytes(b"LUH ") }, // Kisa -> Luyia
833 LangTag { language: "lld", tag: Tag::from_bytes(b"LAD ") }, // Ladin
834 LangTag { language: "lma", tag: Tag(0) }, // East Limba != Low Mari
835 LangTag { language: "lmb", tag: Tag(0) }, // Merei != Limbu
836 LangTag { language: "lmn", tag: Tag::from_bytes(b"LAM ") }, // Lambadi -> Lambani
837// LangTag { language: "lmo", tag: Tag::from_bytes(b"LMO ") }, // Lombard
838 LangTag { language: "lmw", tag: Tag(0) }, // Lake Miwok != Lomwe
839 LangTag { language: "ln", tag: Tag::from_bytes(b"LIN ") }, // Lingala
840 LangTag { language: "lna", tag: Tag::from_bytes(b"BAD0") }, // Langbashe -> Banda
841 LangTag { language: "lnl", tag: Tag::from_bytes(b"BAD0") }, // South Central Banda -> Banda
842 LangTag { language: "lo", tag: Tag::from_bytes(b"LAO ") }, // Lao
843// LangTag { language: "lom", tag: Tag::from_bytes(b"LOM ") }, // Loma (Liberia)
844 LangTag { language: "lou", tag: Tag::from_bytes(b"CPP ") }, // Louisiana Creole -> Creoles
845// LangTag { language: "lpo", tag: Tag::from_bytes(b"LPO ") }, // Lipo
846// LangTag { language: "lrc", tag: Tag::from_bytes(b"LRC ") }, // Northern Luri -> Luri
847 LangTag { language: "lri", tag: Tag::from_bytes(b"LUH ") }, // Marachi -> Luyia
848 LangTag { language: "lrm", tag: Tag::from_bytes(b"LUH ") }, // Marama -> Luyia
849 LangTag { language: "lrt", tag: Tag::from_bytes(b"CPP ") }, // Larantuka Malay -> Creoles
850 LangTag { language: "lsb", tag: Tag(0) }, // Burundian Sign Language != Lower Sorbian
851 LangTag { language: "lsm", tag: Tag::from_bytes(b"LUH ") }, // Saamia -> Luyia
852 LangTag { language: "lt", tag: Tag::from_bytes(b"LTH ") }, // Lithuanian
853 LangTag { language: "ltg", tag: Tag::from_bytes(b"LVI ") }, // Latgalian -> Latvian
854 LangTag { language: "lth", tag: Tag(0) }, // Thur != Lithuanian
855 LangTag { language: "lto", tag: Tag::from_bytes(b"LUH ") }, // Tsotso -> Luyia
856 LangTag { language: "lts", tag: Tag::from_bytes(b"LUH ") }, // Tachoni -> Luyia
857 LangTag { language: "lu", tag: Tag::from_bytes(b"LUB ") }, // Luba-Katanga
858// LangTag { language: "lua", tag: Tag::from_bytes(b"LUA ") }, // Luba-Lulua
859// LangTag { language: "luo", tag: Tag::from_bytes(b"LUO ") }, // Luo (Kenya and Tanzania)
860 LangTag { language: "lus", tag: Tag::from_bytes(b"MIZ ") }, // Lushai -> Mizo
861 LangTag { language: "lus", tag: Tag::from_bytes(b"QIN ") }, // Lushai -> Chin
862 LangTag { language: "luy", tag: Tag::from_bytes(b"LUH ") }, // Luyia [macrolanguage]
863 LangTag { language: "luz", tag: Tag::from_bytes(b"LRC ") }, // Southern Luri -> Luri
864 LangTag { language: "lv", tag: Tag::from_bytes(b"LVI ") }, // Latvian [macrolanguage]
865 LangTag { language: "lvi", tag: Tag(0) }, // Lavi != Latvian
866 LangTag { language: "lvs", tag: Tag::from_bytes(b"LVI ") }, // Standard Latvian -> Latvian
867 LangTag { language: "lwg", tag: Tag::from_bytes(b"LUH ") }, // Wanga -> Luyia
868 LangTag { language: "lzh", tag: Tag::from_bytes(b"ZHT ") }, // Literary Chinese -> Chinese, Traditional
869 LangTag { language: "lzz", tag: Tag::from_bytes(b"LAZ ") }, // Laz
870// LangTag { language: "mad", tag: Tag::from_bytes(b"MAD ") }, // Madurese -> Madura
871// LangTag { language: "mag", tag: Tag::from_bytes(b"MAG ") }, // Magahi
872 LangTag { language: "mai", tag: Tag::from_bytes(b"MTH ") }, // Maithili
873 LangTag { language: "maj", tag: Tag(0) }, // Jalapa De Díaz Mazatec != Majang
874 LangTag { language: "mak", tag: Tag::from_bytes(b"MKR ") }, // Makasar
875 LangTag { language: "mam", tag: Tag::from_bytes(b"MAM ") }, // Mam
876 LangTag { language: "mam", tag: Tag::from_bytes(b"MYN ") }, // Mam -> Mayan
877 LangTag { language: "man", tag: Tag::from_bytes(b"MNK ") }, // Mandingo [macrolanguage] -> Maninka
878 LangTag { language: "map", tag: Tag(0) }, // Austronesian [family] != Mapudungun
879 LangTag { language: "maw", tag: Tag(0) }, // Mampruli != Marwari
880 LangTag { language: "max", tag: Tag::from_bytes(b"MLY ") }, // North Moluccan Malay -> Malay
881 LangTag { language: "max", tag: Tag::from_bytes(b"CPP ") }, // North Moluccan Malay -> Creoles
882 LangTag { language: "mbf", tag: Tag::from_bytes(b"CPP ") }, // Baba Malay -> Creoles
883 LangTag { language: "mbn", tag: Tag(0) }, // Macaguán != Mbundu
884// LangTag { language: "mbo", tag: Tag::from_bytes(b"MBO ") }, // Mbo (Cameroon)
885 LangTag { language: "mch", tag: Tag(0) }, // Maquiritari != Manchu
886 LangTag { language: "mcm", tag: Tag::from_bytes(b"CPP ") }, // Malaccan Creole Portuguese -> Creoles
887 LangTag { language: "mcr", tag: Tag(0) }, // Menya != Moose Cree
888 LangTag { language: "mct", tag: Tag::from_bytes(b"BTI ") }, // Mengisa -> Beti
889 LangTag { language: "mde", tag: Tag(0) }, // Maba (Chad) != Mende
890 LangTag { language: "mdf", tag: Tag::from_bytes(b"MOK ") }, // Moksha
891// LangTag { language: "mdr", tag: Tag::from_bytes(b"MDR ") }, // Mandar
892 LangTag { language: "mdy", tag: Tag::from_bytes(b"MLE ") }, // Male (Ethiopia)
893 LangTag { language: "men", tag: Tag::from_bytes(b"MDE ") }, // Mende (Sierra Leone)
894 LangTag { language: "meo", tag: Tag::from_bytes(b"MLY ") }, // Kedah Malay -> Malay
895// LangTag { language: "mer", tag: Tag::from_bytes(b"MER ") }, // Meru
896 LangTag { language: "mfa", tag: Tag::from_bytes(b"MFA ") }, // Pattani Malay
897 LangTag { language: "mfa", tag: Tag::from_bytes(b"MLY ") }, // Pattani Malay -> Malay
898 LangTag { language: "mfb", tag: Tag::from_bytes(b"MLY ") }, // Bangka -> Malay
899 LangTag { language: "mfe", tag: Tag::from_bytes(b"MFE ") }, // Morisyen
900 LangTag { language: "mfe", tag: Tag::from_bytes(b"CPP ") }, // Morisyen -> Creoles
901 LangTag { language: "mfp", tag: Tag::from_bytes(b"CPP ") }, // Makassar Malay -> Creoles
902 LangTag { language: "mg", tag: Tag::from_bytes(b"MLG ") }, // Malagasy [macrolanguage]
903 LangTag { language: "mh", tag: Tag::from_bytes(b"MAH ") }, // Marshallese
904 LangTag { language: "mhc", tag: Tag::from_bytes(b"MYN ") }, // Mocho -> Mayan
905 LangTag { language: "mhr", tag: Tag::from_bytes(b"LMA ") }, // Eastern Mari -> Low Mari
906 LangTag { language: "mhv", tag: Tag::from_bytes(b"ARK ") }, // Arakanese(retired code) -> Rakhine
907 LangTag { language: "mi", tag: Tag::from_bytes(b"MRI ") }, // Maori
908 LangTag { language: "min", tag: Tag::from_bytes(b"MIN ") }, // Minangkabau
909 LangTag { language: "min", tag: Tag::from_bytes(b"MLY ") }, // Minangkabau -> Malay
910 LangTag { language: "miz", tag: Tag(0) }, // Coatzospan Mixtec != Mizo
911 LangTag { language: "mk", tag: Tag::from_bytes(b"MKD ") }, // Macedonian
912 LangTag { language: "mkn", tag: Tag::from_bytes(b"CPP ") }, // Kupang Malay -> Creoles
913 LangTag { language: "mkr", tag: Tag(0) }, // Malas != Makasar
914 LangTag { language: "mku", tag: Tag::from_bytes(b"MNK ") }, // Konyanka Maninka -> Maninka
915// LangTag { language: "mkw", tag: Tag::from_bytes(b"MKW ") }, // Kituba (Congo)
916 LangTag { language: "ml", tag: Tag::from_bytes(b"MAL ") }, // Malayalam -> Malayalam Traditional
917 LangTag { language: "ml", tag: Tag::from_bytes(b"MLR ") }, // Malayalam -> Malayalam Reformed
918 LangTag { language: "mle", tag: Tag(0) }, // Manambu != Male
919 LangTag { language: "mln", tag: Tag(0) }, // Malango != Malinke
920 LangTag { language: "mlq", tag: Tag::from_bytes(b"MLN ") }, // Western Maninkakan -> Malinke
921 LangTag { language: "mlq", tag: Tag::from_bytes(b"MNK ") }, // Western Maninkakan -> Maninka
922 LangTag { language: "mlr", tag: Tag(0) }, // Vame != Malayalam Reformed
923 LangTag { language: "mmr", tag: Tag::from_bytes(b"HMN ") }, // Western Xiangxi Miao -> Hmong
924 LangTag { language: "mn", tag: Tag::from_bytes(b"MNG ") }, // Mongolian [macrolanguage]
925 LangTag { language: "mnc", tag: Tag::from_bytes(b"MCH ") }, // Manchu
926 LangTag { language: "mnd", tag: Tag(0) }, // Mondé != Mandinka
927 LangTag { language: "mng", tag: Tag(0) }, // Eastern Mnong != Mongolian
928 LangTag { language: "mnh", tag: Tag::from_bytes(b"BAD0") }, // Mono (Democratic Republic of Congo) -> Banda
929// LangTag { language: "mni", tag: Tag::from_bytes(b"MNI ") }, // Manipuri
930 LangTag { language: "mnk", tag: Tag::from_bytes(b"MND ") }, // Mandinka
931 LangTag { language: "mnk", tag: Tag::from_bytes(b"MNK ") }, // Mandinka -> Maninka
932 LangTag { language: "mnp", tag: Tag::from_bytes(b"ZHS ") }, // Min Bei Chinese -> Chinese, Simplified
933 LangTag { language: "mns", tag: Tag::from_bytes(b"MAN ") }, // Mansi
934 LangTag { language: "mnw", tag: Tag::from_bytes(b"MON ") }, // Mon
935 LangTag { language: "mnw", tag: Tag::from_bytes(b"MONT") }, // Mon -> Thailand Mon
936 LangTag { language: "mnx", tag: Tag(0) }, // Manikion != Manx
937 LangTag { language: "mo", tag: Tag::from_bytes(b"MOL ") }, // Moldavian(retired code)
938 LangTag { language: "mod", tag: Tag::from_bytes(b"CPP ") }, // Mobilian -> Creoles
939// LangTag { language: "moh", tag: Tag::from_bytes(b"MOH ") }, // Mohawk
940 LangTag { language: "mok", tag: Tag(0) }, // Morori != Moksha
941 LangTag { language: "mop", tag: Tag::from_bytes(b"MYN ") }, // Mopán Maya -> Mayan
942 LangTag { language: "mor", tag: Tag(0) }, // Moro != Moroccan
943// LangTag { language: "mos", tag: Tag::from_bytes(b"MOS ") }, // Mossi
944 LangTag { language: "mpe", tag: Tag::from_bytes(b"MAJ ") }, // Majang
945 LangTag { language: "mqg", tag: Tag::from_bytes(b"MLY ") }, // Kota Bangun Kutai Malay -> Malay
946 LangTag { language: "mr", tag: Tag::from_bytes(b"MAR ") }, // Marathi
947 LangTag { language: "mrh", tag: Tag::from_bytes(b"QIN ") }, // Mara Chin -> Chin
948 LangTag { language: "mrj", tag: Tag::from_bytes(b"HMA ") }, // Western Mari -> High Mari
949 LangTag { language: "ms", tag: Tag::from_bytes(b"MLY ") }, // Malay [macrolanguage]
950 LangTag { language: "msc", tag: Tag::from_bytes(b"MNK ") }, // Sankaran Maninka -> Maninka
951 LangTag { language: "msh", tag: Tag::from_bytes(b"MLG ") }, // Masikoro Malagasy -> Malagasy
952 LangTag { language: "msi", tag: Tag::from_bytes(b"MLY ") }, // Sabah Malay -> Malay
953 LangTag { language: "msi", tag: Tag::from_bytes(b"CPP ") }, // Sabah Malay -> Creoles
954 LangTag { language: "mt", tag: Tag::from_bytes(b"MTS ") }, // Maltese
955 LangTag { language: "mth", tag: Tag(0) }, // Munggui != Maithili
956 LangTag { language: "mtr", tag: Tag::from_bytes(b"MAW ") }, // Mewari -> Marwari
957 LangTag { language: "mts", tag: Tag(0) }, // Yora != Maltese
958 LangTag { language: "mud", tag: Tag::from_bytes(b"CPP ") }, // Mednyj Aleut -> Creoles
959 LangTag { language: "mui", tag: Tag::from_bytes(b"MLY ") }, // Musi -> Malay
960 LangTag { language: "mun", tag: Tag(0) }, // Munda [family] != Mundari
961 LangTag { language: "mup", tag: Tag::from_bytes(b"RAJ ") }, // Malvi -> Rajasthani
962 LangTag { language: "muq", tag: Tag::from_bytes(b"HMN ") }, // Eastern Xiangxi Miao -> Hmong
963// LangTag { language: "mus", tag: Tag::from_bytes(b"MUS ") }, // Creek -> Muscogee
964 LangTag { language: "mvb", tag: Tag::from_bytes(b"ATH ") }, // Mattole -> Athapaskan
965 LangTag { language: "mve", tag: Tag::from_bytes(b"MAW ") }, // Marwari (Pakistan)
966 LangTag { language: "mvf", tag: Tag::from_bytes(b"MNG ") }, // Peripheral Mongolian -> Mongolian
967 LangTag { language: "mwk", tag: Tag::from_bytes(b"MNK ") }, // Kita Maninkakan -> Maninka
968// LangTag { language: "mwl", tag: Tag::from_bytes(b"MWL ") }, // Mirandese
969 LangTag { language: "mwq", tag: Tag::from_bytes(b"QIN ") }, // Mün Chin -> Chin
970 LangTag { language: "mwr", tag: Tag::from_bytes(b"MAW ") }, // Marwari [macrolanguage]
971 LangTag { language: "mww", tag: Tag::from_bytes(b"MWW ") }, // Hmong Daw
972 LangTag { language: "mww", tag: Tag::from_bytes(b"HMN ") }, // Hmong Daw -> Hmong
973 LangTag { language: "my", tag: Tag::from_bytes(b"BRM ") }, // Burmese
974 LangTag { language: "mym", tag: Tag::from_bytes(b"MEN ") }, // Me’en
975// LangTag { language: "myn", tag: Tag::from_bytes(b"MYN ") }, // Mayan [family]
976 LangTag { language: "myq", tag: Tag::from_bytes(b"MNK ") }, // Forest Maninka(retired code) -> Maninka
977 LangTag { language: "myv", tag: Tag::from_bytes(b"ERZ ") }, // Erzya
978 LangTag { language: "mzb", tag: Tag::from_bytes(b"BBR ") }, // Tumzabt -> Berber
979// LangTag { language: "mzn", tag: Tag::from_bytes(b"MZN ") }, // Mazanderani
980 LangTag { language: "mzs", tag: Tag::from_bytes(b"CPP ") }, // Macanese -> Creoles
981 LangTag { language: "na", tag: Tag::from_bytes(b"NAU ") }, // Nauru -> Nauruan
982 LangTag { language: "nag", tag: Tag::from_bytes(b"NAG ") }, // Naga Pidgin -> Naga-Assamese
983 LangTag { language: "nag", tag: Tag::from_bytes(b"CPP ") }, // Naga Pidgin -> Creoles
984// LangTag { language: "nah", tag: Tag::from_bytes(b"NAH ") }, // Nahuatl [family]
985 LangTag { language: "nan", tag: Tag::from_bytes(b"ZHS ") }, // Min Nan Chinese -> Chinese, Simplified
986// LangTag { language: "nap", tag: Tag::from_bytes(b"NAP ") }, // Neapolitan
987 LangTag { language: "nas", tag: Tag(0) }, // Naasioi != Naskapi
988 LangTag { language: "naz", tag: Tag::from_bytes(b"NAH ") }, // Coatepec Nahuatl -> Nahuatl
989 LangTag { language: "nb", tag: Tag::from_bytes(b"NOR ") }, // Norwegian Bokmål -> Norwegian
990 LangTag { language: "nch", tag: Tag::from_bytes(b"NAH ") }, // Central Huasteca Nahuatl -> Nahuatl
991 LangTag { language: "nci", tag: Tag::from_bytes(b"NAH ") }, // Classical Nahuatl -> Nahuatl
992 LangTag { language: "ncj", tag: Tag::from_bytes(b"NAH ") }, // Northern Puebla Nahuatl -> Nahuatl
993 LangTag { language: "ncl", tag: Tag::from_bytes(b"NAH ") }, // Michoacán Nahuatl -> Nahuatl
994 LangTag { language: "ncr", tag: Tag(0) }, // Ncane != N-Cree
995 LangTag { language: "ncx", tag: Tag::from_bytes(b"NAH ") }, // Central Puebla Nahuatl -> Nahuatl
996 LangTag { language: "nd", tag: Tag::from_bytes(b"NDB ") }, // North Ndebele -> Ndebele
997 LangTag { language: "ndb", tag: Tag(0) }, // Kenswei Nsei != Ndebele
998// LangTag { language: "ndc", tag: Tag::from_bytes(b"NDC ") }, // Ndau
999 LangTag { language: "ndg", tag: Tag(0) }, // Ndengereko != Ndonga
1000// LangTag { language: "nds", tag: Tag::from_bytes(b"NDS ") }, // Low Saxon
1001 LangTag { language: "ne", tag: Tag::from_bytes(b"NEP ") }, // Nepali [macrolanguage]
1002 LangTag { language: "nef", tag: Tag::from_bytes(b"CPP ") }, // Nefamese -> Creoles
1003// LangTag { language: "new", tag: Tag::from_bytes(b"NEW ") }, // Newari
1004 LangTag { language: "ng", tag: Tag::from_bytes(b"NDG ") }, // Ndonga
1005// LangTag { language: "nga", tag: Tag::from_bytes(b"NGA ") }, // Ngbaka
1006 LangTag { language: "ngl", tag: Tag::from_bytes(b"LMW ") }, // Lomwe
1007 LangTag { language: "ngm", tag: Tag::from_bytes(b"CPP ") }, // Ngatik Men's Creole -> Creoles
1008 LangTag { language: "ngo", tag: Tag::from_bytes(b"SXT ") }, // Ngoni(retired code) -> Sutu
1009 LangTag { language: "ngr", tag: Tag(0) }, // Engdewu != Nagari
1010 LangTag { language: "ngu", tag: Tag::from_bytes(b"NAH ") }, // Guerrero Nahuatl -> Nahuatl
1011 LangTag { language: "nhc", tag: Tag::from_bytes(b"NAH ") }, // Tabasco Nahuatl -> Nahuatl
1012 LangTag { language: "nhd", tag: Tag::from_bytes(b"GUA ") }, // Chiripá -> Guarani
1013 LangTag { language: "nhe", tag: Tag::from_bytes(b"NAH ") }, // Eastern Huasteca Nahuatl -> Nahuatl
1014 LangTag { language: "nhg", tag: Tag::from_bytes(b"NAH ") }, // Tetelcingo Nahuatl -> Nahuatl
1015 LangTag { language: "nhi", tag: Tag::from_bytes(b"NAH ") }, // Zacatlán-Ahuacatlán-Tepetzintla Nahuatl -> Nahuatl
1016 LangTag { language: "nhk", tag: Tag::from_bytes(b"NAH ") }, // Isthmus-Cosoleacaque Nahuatl -> Nahuatl
1017 LangTag { language: "nhm", tag: Tag::from_bytes(b"NAH ") }, // Morelos Nahuatl -> Nahuatl
1018 LangTag { language: "nhn", tag: Tag::from_bytes(b"NAH ") }, // Central Nahuatl -> Nahuatl
1019 LangTag { language: "nhp", tag: Tag::from_bytes(b"NAH ") }, // Isthmus-Pajapan Nahuatl -> Nahuatl
1020 LangTag { language: "nhq", tag: Tag::from_bytes(b"NAH ") }, // Huaxcaleca Nahuatl -> Nahuatl
1021 LangTag { language: "nht", tag: Tag::from_bytes(b"NAH ") }, // Ometepec Nahuatl -> Nahuatl
1022 LangTag { language: "nhv", tag: Tag::from_bytes(b"NAH ") }, // Temascaltepec Nahuatl -> Nahuatl
1023 LangTag { language: "nhw", tag: Tag::from_bytes(b"NAH ") }, // Western Huasteca Nahuatl -> Nahuatl
1024 LangTag { language: "nhx", tag: Tag::from_bytes(b"NAH ") }, // Isthmus-Mecayapan Nahuatl -> Nahuatl
1025 LangTag { language: "nhy", tag: Tag::from_bytes(b"NAH ") }, // Northern Oaxaca Nahuatl -> Nahuatl
1026 LangTag { language: "nhz", tag: Tag::from_bytes(b"NAH ") }, // Santa María La Alta Nahuatl -> Nahuatl
1027 LangTag { language: "niq", tag: Tag::from_bytes(b"KAL ") }, // Nandi -> Kalenjin
1028 LangTag { language: "nis", tag: Tag(0) }, // Nimi != Nisi
1029// LangTag { language: "niu", tag: Tag::from_bytes(b"NIU ") }, // Niuean
1030 LangTag { language: "niv", tag: Tag::from_bytes(b"GIL ") }, // Gilyak
1031 LangTag { language: "njt", tag: Tag::from_bytes(b"CPP ") }, // Ndyuka-Trio Pidgin -> Creoles
1032 LangTag { language: "njz", tag: Tag::from_bytes(b"NIS ") }, // Nyishi -> Nisi
1033 LangTag { language: "nko", tag: Tag(0) }, // Nkonya != N’Ko
1034 LangTag { language: "nkx", tag: Tag::from_bytes(b"IJO ") }, // Nkoroo -> Ijo
1035 LangTag { language: "nl", tag: Tag::from_bytes(b"NLD ") }, // Dutch
1036 LangTag { language: "nla", tag: Tag::from_bytes(b"BML ") }, // Ngombale -> Bamileke
1037 LangTag { language: "nle", tag: Tag::from_bytes(b"LUH ") }, // East Nyala -> Luyia
1038 LangTag { language: "nln", tag: Tag::from_bytes(b"NAH ") }, // Durango Nahuatl(retired code) -> Nahuatl
1039 LangTag { language: "nlv", tag: Tag::from_bytes(b"NAH ") }, // Orizaba Nahuatl -> Nahuatl
1040 LangTag { language: "nn", tag: Tag::from_bytes(b"NYN ") }, // Norwegian Nynorsk (Nynorsk, Norwegian)
1041 LangTag { language: "nn", tag: Tag::from_bytes(b"NOR ") }, // Norwegian Nynorsk -> Norwegian
1042 LangTag { language: "nnh", tag: Tag::from_bytes(b"BML ") }, // Ngiemboon -> Bamileke
1043 LangTag { language: "nnz", tag: Tag::from_bytes(b"BML ") }, // Nda'nda' -> Bamileke
1044 LangTag { language: "no", tag: Tag::from_bytes(b"NOR ") }, // Norwegian [macrolanguage]
1045 LangTag { language: "nod", tag: Tag::from_bytes(b"NTA ") }, // Northern Thai -> Northern Tai
1046// LangTag { language: "noe", tag: Tag::from_bytes(b"NOE ") }, // Nimadi
1047// LangTag { language: "nog", tag: Tag::from_bytes(b"NOG ") }, // Nogai
1048// LangTag { language: "nov", tag: Tag::from_bytes(b"NOV ") }, // Novial
1049 LangTag { language: "npi", tag: Tag::from_bytes(b"NEP ") }, // Nepali
1050 LangTag { language: "npl", tag: Tag::from_bytes(b"NAH ") }, // Southeastern Puebla Nahuatl -> Nahuatl
1051 LangTag { language: "nqo", tag: Tag::from_bytes(b"NKO ") }, // N’Ko
1052 LangTag { language: "nr", tag: Tag::from_bytes(b"NDB ") }, // South Ndebele -> Ndebele
1053 LangTag { language: "nsk", tag: Tag::from_bytes(b"NAS ") }, // Naskapi
1054 LangTag { language: "nsm", tag: Tag(0) }, // Sumi Naga != Northern Sami
1055// LangTag { language: "nso", tag: Tag::from_bytes(b"NSO ") }, // Northern Sotho
1056 LangTag { language: "nsu", tag: Tag::from_bytes(b"NAH ") }, // Sierra Negra Nahuatl -> Nahuatl
1057 LangTag { language: "nto", tag: Tag(0) }, // Ntomba != Esperanto
1058 LangTag { language: "nue", tag: Tag::from_bytes(b"BAD0") }, // Ngundu -> Banda
1059 LangTag { language: "nuu", tag: Tag::from_bytes(b"BAD0") }, // Ngbundu -> Banda
1060 LangTag { language: "nuz", tag: Tag::from_bytes(b"NAH ") }, // Tlamacazapa Nahuatl -> Nahuatl
1061 LangTag { language: "nv", tag: Tag::from_bytes(b"NAV ") }, // Navajo
1062 LangTag { language: "nv", tag: Tag::from_bytes(b"ATH ") }, // Navajo -> Athapaskan
1063 LangTag { language: "nwe", tag: Tag::from_bytes(b"BML ") }, // Ngwe -> Bamileke
1064 LangTag { language: "ny", tag: Tag::from_bytes(b"CHI ") }, // Chichewa (Chewa, Nyanja)
1065 LangTag { language: "nyd", tag: Tag::from_bytes(b"LUH ") }, // Nyore -> Luyia
1066// LangTag { language: "nym", tag: Tag::from_bytes(b"NYM ") }, // Nyamwezi
1067 LangTag { language: "nyn", tag: Tag::from_bytes(b"NKL ") }, // Nyankole
1068// LangTag { language: "nza", tag: Tag::from_bytes(b"NZA ") }, // Tigon Mbembe -> Mbembe Tigon
1069 LangTag { language: "oc", tag: Tag::from_bytes(b"OCI ") }, // Occitan (post 1500)
1070 LangTag { language: "oj", tag: Tag::from_bytes(b"OJB ") }, // Ojibwa [macrolanguage] -> Ojibway
1071// LangTag { language: "ojb", tag: Tag::from_bytes(b"OJB ") }, // Northwestern Ojibwa -> Ojibway
1072 LangTag { language: "ojc", tag: Tag::from_bytes(b"OJB ") }, // Central Ojibwa -> Ojibway
1073 LangTag { language: "ojg", tag: Tag::from_bytes(b"OJB ") }, // Eastern Ojibwa -> Ojibway
1074 LangTag { language: "ojs", tag: Tag::from_bytes(b"OCR ") }, // Severn Ojibwa -> Oji-Cree
1075 LangTag { language: "ojs", tag: Tag::from_bytes(b"OJB ") }, // Severn Ojibwa -> Ojibway
1076 LangTag { language: "ojw", tag: Tag::from_bytes(b"OJB ") }, // Western Ojibwa -> Ojibway
1077 LangTag { language: "okd", tag: Tag::from_bytes(b"IJO ") }, // Okodia -> Ijo
1078 LangTag { language: "oki", tag: Tag::from_bytes(b"KAL ") }, // Okiek -> Kalenjin
1079 LangTag { language: "okm", tag: Tag::from_bytes(b"KOH ") }, // Middle Korean (10th-16th cent.) -> Korean Old Hangul
1080 LangTag { language: "okr", tag: Tag::from_bytes(b"IJO ") }, // Kirike -> Ijo
1081 LangTag { language: "om", tag: Tag::from_bytes(b"ORO ") }, // Oromo [macrolanguage]
1082 LangTag { language: "onx", tag: Tag::from_bytes(b"CPP ") }, // Onin Based Pidgin -> Creoles
1083 LangTag { language: "oor", tag: Tag::from_bytes(b"CPP ") }, // Oorlams -> Creoles
1084 LangTag { language: "or", tag: Tag::from_bytes(b"ORI ") }, // Odia (formerly Oriya) [macrolanguage]
1085 LangTag { language: "orc", tag: Tag::from_bytes(b"ORO ") }, // Orma -> Oromo
1086 LangTag { language: "orn", tag: Tag::from_bytes(b"MLY ") }, // Orang Kanaq -> Malay
1087 LangTag { language: "oro", tag: Tag(0) }, // Orokolo != Oromo
1088 LangTag { language: "orr", tag: Tag::from_bytes(b"IJO ") }, // Oruma -> Ijo
1089 LangTag { language: "ors", tag: Tag::from_bytes(b"MLY ") }, // Orang Seletar -> Malay
1090 LangTag { language: "ory", tag: Tag::from_bytes(b"ORI ") }, // Odia (formerly Oriya)
1091 LangTag { language: "os", tag: Tag::from_bytes(b"OSS ") }, // Ossetian
1092 LangTag { language: "otw", tag: Tag::from_bytes(b"OJB ") }, // Ottawa -> Ojibway
1093 LangTag { language: "oua", tag: Tag::from_bytes(b"BBR ") }, // Tagargrent -> Berber
1094 LangTag { language: "pa", tag: Tag::from_bytes(b"PAN ") }, // Punjabi
1095 LangTag { language: "paa", tag: Tag(0) }, // Papuan [family] != Palestinian Aramaic
1096// LangTag { language: "pag", tag: Tag::from_bytes(b"PAG ") }, // Pangasinan
1097 LangTag { language: "pal", tag: Tag(0) }, // Pahlavi != Pali
1098// LangTag { language: "pam", tag: Tag::from_bytes(b"PAM ") }, // Pampanga -> Pampangan
1099 LangTag { language: "pap", tag: Tag::from_bytes(b"PAP0") }, // Papiamento -> Papiamentu
1100 LangTag { language: "pap", tag: Tag::from_bytes(b"CPP ") }, // Papiamento -> Creoles
1101 LangTag { language: "pas", tag: Tag(0) }, // Papasena != Pashto
1102// LangTag { language: "pau", tag: Tag::from_bytes(b"PAU ") }, // Palauan
1103 LangTag { language: "pbt", tag: Tag::from_bytes(b"PAS ") }, // Southern Pashto -> Pashto
1104 LangTag { language: "pbu", tag: Tag::from_bytes(b"PAS ") }, // Northern Pashto -> Pashto
1105// LangTag { language: "pcc", tag: Tag::from_bytes(b"PCC ") }, // Bouyei
1106// LangTag { language: "pcd", tag: Tag::from_bytes(b"PCD ") }, // Picard
1107 LangTag { language: "pce", tag: Tag::from_bytes(b"PLG ") }, // Ruching Palaung -> Palaung
1108 LangTag { language: "pck", tag: Tag::from_bytes(b"QIN ") }, // Paite Chin -> Chin
1109 LangTag { language: "pcm", tag: Tag::from_bytes(b"CPP ") }, // Nigerian Pidgin -> Creoles
1110// LangTag { language: "pdc", tag: Tag::from_bytes(b"PDC ") }, // Pennsylvania German
1111 LangTag { language: "pdu", tag: Tag::from_bytes(b"KRN ") }, // Kayan -> Karen
1112 LangTag { language: "pea", tag: Tag::from_bytes(b"CPP ") }, // Peranakan Indonesian -> Creoles
1113 LangTag { language: "pel", tag: Tag::from_bytes(b"MLY ") }, // Pekal -> Malay
1114 LangTag { language: "pes", tag: Tag::from_bytes(b"FAR ") }, // Iranian Persian -> Persian
1115 LangTag { language: "pey", tag: Tag::from_bytes(b"CPP ") }, // Petjo -> Creoles
1116 LangTag { language: "pga", tag: Tag::from_bytes(b"ARA ") }, // Sudanese Creole Arabic -> Arabic
1117 LangTag { language: "pga", tag: Tag::from_bytes(b"CPP ") }, // Sudanese Creole Arabic -> Creoles
1118// LangTag { language: "phk", tag: Tag::from_bytes(b"PHK ") }, // Phake
1119 LangTag { language: "pi", tag: Tag::from_bytes(b"PAL ") }, // Pali
1120 LangTag { language: "pih", tag: Tag::from_bytes(b"PIH ") }, // Pitcairn-Norfolk -> Norfolk
1121 LangTag { language: "pih", tag: Tag::from_bytes(b"CPP ") }, // Pitcairn-Norfolk -> Creoles
1122 LangTag { language: "pil", tag: Tag(0) }, // Yom != Filipino
1123 LangTag { language: "pis", tag: Tag::from_bytes(b"CPP ") }, // Pijin -> Creoles
1124 LangTag { language: "pkh", tag: Tag::from_bytes(b"QIN ") }, // Pankhu -> Chin
1125 LangTag { language: "pko", tag: Tag::from_bytes(b"KAL ") }, // Pökoot -> Kalenjin
1126 LangTag { language: "pl", tag: Tag::from_bytes(b"PLK ") }, // Polish
1127 LangTag { language: "plg", tag: Tag(0) }, // Pilagá != Palaung
1128 LangTag { language: "plk", tag: Tag(0) }, // Kohistani Shina != Polish
1129 LangTag { language: "pll", tag: Tag::from_bytes(b"PLG ") }, // Shwe Palaung -> Palaung
1130 LangTag { language: "pln", tag: Tag::from_bytes(b"CPP ") }, // Palenquero -> Creoles
1131 LangTag { language: "plp", tag: Tag::from_bytes(b"PAP ") }, // Palpa(retired code)
1132 LangTag { language: "plt", tag: Tag::from_bytes(b"MLG ") }, // Plateau Malagasy -> Malagasy
1133 LangTag { language: "pml", tag: Tag::from_bytes(b"CPP ") }, // Lingua Franca -> Creoles
1134// LangTag { language: "pms", tag: Tag::from_bytes(b"PMS ") }, // Piemontese
1135 LangTag { language: "pmy", tag: Tag::from_bytes(b"CPP ") }, // Papuan Malay -> Creoles
1136// LangTag { language: "pnb", tag: Tag::from_bytes(b"PNB ") }, // Western Panjabi
1137 LangTag { language: "poc", tag: Tag::from_bytes(b"MYN ") }, // Poqomam -> Mayan
1138 LangTag { language: "poh", tag: Tag::from_bytes(b"POH ") }, // Poqomchi' -> Pocomchi
1139 LangTag { language: "poh", tag: Tag::from_bytes(b"MYN ") }, // Poqomchi' -> Mayan
1140// LangTag { language: "pon", tag: Tag::from_bytes(b"PON ") }, // Pohnpeian
1141 LangTag { language: "pov", tag: Tag::from_bytes(b"CPP ") }, // Upper Guinea Crioulo -> Creoles
1142 LangTag { language: "ppa", tag: Tag::from_bytes(b"BAG ") }, // Pao(retired code) -> Baghelkhandi
1143 LangTag { language: "pre", tag: Tag::from_bytes(b"CPP ") }, // Principense -> Creoles
1144// LangTag { language: "pro", tag: Tag::from_bytes(b"PRO ") }, // Old Provençal (to 1500) -> Provençal / Old Provençal
1145 LangTag { language: "prp", tag: Tag::from_bytes(b"GUJ ") }, // Parsi(retired code) -> Gujarati
1146 LangTag { language: "prs", tag: Tag::from_bytes(b"DRI ") }, // Dari
1147 LangTag { language: "prs", tag: Tag::from_bytes(b"FAR ") }, // Dari -> Persian
1148 LangTag { language: "ps", tag: Tag::from_bytes(b"PAS ") }, // Pashto [macrolanguage]
1149 LangTag { language: "pse", tag: Tag::from_bytes(b"MLY ") }, // Central Malay -> Malay
1150 LangTag { language: "pst", tag: Tag::from_bytes(b"PAS ") }, // Central Pashto -> Pashto
1151 LangTag { language: "pt", tag: Tag::from_bytes(b"PTG ") }, // Portuguese
1152 LangTag { language: "pub", tag: Tag::from_bytes(b"QIN ") }, // Purum -> Chin
1153 LangTag { language: "puz", tag: Tag::from_bytes(b"QIN ") }, // Purum Naga(retired code) -> Chin
1154 LangTag { language: "pwo", tag: Tag::from_bytes(b"PWO ") }, // Pwo Western Karen -> Western Pwo Karen
1155 LangTag { language: "pwo", tag: Tag::from_bytes(b"KRN ") }, // Pwo Western Karen -> Karen
1156 LangTag { language: "pww", tag: Tag::from_bytes(b"KRN ") }, // Pwo Northern Karen -> Karen
1157 LangTag { language: "qu", tag: Tag::from_bytes(b"QUZ ") }, // Quechua [macrolanguage]
1158 LangTag { language: "qub", tag: Tag::from_bytes(b"QWH ") }, // Huallaga Huánuco Quechua -> Quechua (Peru)
1159 LangTag { language: "qub", tag: Tag::from_bytes(b"QUZ ") }, // Huallaga Huánuco Quechua -> Quechua
1160 LangTag { language: "quc", tag: Tag::from_bytes(b"QUC ") }, // K’iche’
1161 LangTag { language: "quc", tag: Tag::from_bytes(b"MYN ") }, // K'iche' -> Mayan
1162 LangTag { language: "qud", tag: Tag::from_bytes(b"QVI ") }, // Calderón Highland Quichua -> Quechua (Ecuador)
1163 LangTag { language: "qud", tag: Tag::from_bytes(b"QUZ ") }, // Calderón Highland Quichua -> Quechua
1164 LangTag { language: "quf", tag: Tag::from_bytes(b"QUZ ") }, // Lambayeque Quechua -> Quechua
1165 LangTag { language: "qug", tag: Tag::from_bytes(b"QVI ") }, // Chimborazo Highland Quichua -> Quechua (Ecuador)
1166 LangTag { language: "qug", tag: Tag::from_bytes(b"QUZ ") }, // Chimborazo Highland Quichua -> Quechua
1167 LangTag { language: "quh", tag: Tag::from_bytes(b"QUH ") }, // South Bolivian Quechua -> Quechua (Bolivia)
1168 LangTag { language: "quh", tag: Tag::from_bytes(b"QUZ ") }, // South Bolivian Quechua -> Quechua
1169 LangTag { language: "quk", tag: Tag::from_bytes(b"QUZ ") }, // Chachapoyas Quechua -> Quechua
1170 LangTag { language: "qul", tag: Tag::from_bytes(b"QUH ") }, // North Bolivian Quechua -> Quechua (Bolivia)
1171 LangTag { language: "qul", tag: Tag::from_bytes(b"QUZ ") }, // North Bolivian Quechua -> Quechua
1172 LangTag { language: "qum", tag: Tag::from_bytes(b"MYN ") }, // Sipacapense -> Mayan
1173 LangTag { language: "qup", tag: Tag::from_bytes(b"QVI ") }, // Southern Pastaza Quechua -> Quechua (Ecuador)
1174 LangTag { language: "qup", tag: Tag::from_bytes(b"QUZ ") }, // Southern Pastaza Quechua -> Quechua
1175 LangTag { language: "qur", tag: Tag::from_bytes(b"QWH ") }, // Yanahuanca Pasco Quechua -> Quechua (Peru)
1176 LangTag { language: "qur", tag: Tag::from_bytes(b"QUZ ") }, // Yanahuanca Pasco Quechua -> Quechua
1177 LangTag { language: "qus", tag: Tag::from_bytes(b"QUH ") }, // Santiago del Estero Quichua -> Quechua (Bolivia)
1178 LangTag { language: "qus", tag: Tag::from_bytes(b"QUZ ") }, // Santiago del Estero Quichua -> Quechua
1179 LangTag { language: "quv", tag: Tag::from_bytes(b"MYN ") }, // Sacapulteco -> Mayan
1180 LangTag { language: "quw", tag: Tag::from_bytes(b"QVI ") }, // Tena Lowland Quichua -> Quechua (Ecuador)
1181 LangTag { language: "quw", tag: Tag::from_bytes(b"QUZ ") }, // Tena Lowland Quichua -> Quechua
1182 LangTag { language: "qux", tag: Tag::from_bytes(b"QWH ") }, // Yauyos Quechua -> Quechua (Peru)
1183 LangTag { language: "qux", tag: Tag::from_bytes(b"QUZ ") }, // Yauyos Quechua -> Quechua
1184 LangTag { language: "quy", tag: Tag::from_bytes(b"QUZ ") }, // Ayacucho Quechua -> Quechua
1185// LangTag { language: "quz", tag: Tag::from_bytes(b"QUZ ") }, // Cusco Quechua -> Quechua
1186 LangTag { language: "qva", tag: Tag::from_bytes(b"QWH ") }, // Ambo-Pasco Quechua -> Quechua (Peru)
1187 LangTag { language: "qva", tag: Tag::from_bytes(b"QUZ ") }, // Ambo-Pasco Quechua -> Quechua
1188 LangTag { language: "qvc", tag: Tag::from_bytes(b"QUZ ") }, // Cajamarca Quechua -> Quechua
1189 LangTag { language: "qve", tag: Tag::from_bytes(b"QUZ ") }, // Eastern Apurímac Quechua -> Quechua
1190 LangTag { language: "qvh", tag: Tag::from_bytes(b"QWH ") }, // Huamalíes-Dos de Mayo Huánuco Quechua -> Quechua (Peru)
1191 LangTag { language: "qvh", tag: Tag::from_bytes(b"QUZ ") }, // Huamalíes-Dos de Mayo Huánuco Quechua -> Quechua
1192 LangTag { language: "qvi", tag: Tag::from_bytes(b"QVI ") }, // Imbabura Highland Quichua -> Quechua (Ecuador)
1193 LangTag { language: "qvi", tag: Tag::from_bytes(b"QUZ ") }, // Imbabura Highland Quichua -> Quechua
1194 LangTag { language: "qvj", tag: Tag::from_bytes(b"QVI ") }, // Loja Highland Quichua -> Quechua (Ecuador)
1195 LangTag { language: "qvj", tag: Tag::from_bytes(b"QUZ ") }, // Loja Highland Quichua -> Quechua
1196 LangTag { language: "qvl", tag: Tag::from_bytes(b"QWH ") }, // Cajatambo North Lima Quechua -> Quechua (Peru)
1197 LangTag { language: "qvl", tag: Tag::from_bytes(b"QUZ ") }, // Cajatambo North Lima Quechua -> Quechua
1198 LangTag { language: "qvm", tag: Tag::from_bytes(b"QWH ") }, // Margos-Yarowilca-Lauricocha Quechua -> Quechua (Peru)
1199 LangTag { language: "qvm", tag: Tag::from_bytes(b"QUZ ") }, // Margos-Yarowilca-Lauricocha Quechua -> Quechua
1200 LangTag { language: "qvn", tag: Tag::from_bytes(b"QWH ") }, // North Junín Quechua -> Quechua (Peru)
1201 LangTag { language: "qvn", tag: Tag::from_bytes(b"QUZ ") }, // North Junín Quechua -> Quechua
1202 LangTag { language: "qvo", tag: Tag::from_bytes(b"QVI ") }, // Napo Lowland Quechua -> Quechua (Ecuador)
1203 LangTag { language: "qvo", tag: Tag::from_bytes(b"QUZ ") }, // Napo Lowland Quechua -> Quechua
1204 LangTag { language: "qvp", tag: Tag::from_bytes(b"QWH ") }, // Pacaraos Quechua -> Quechua (Peru)
1205 LangTag { language: "qvp", tag: Tag::from_bytes(b"QUZ ") }, // Pacaraos Quechua -> Quechua
1206 LangTag { language: "qvs", tag: Tag::from_bytes(b"QUZ ") }, // San Martín Quechua -> Quechua
1207 LangTag { language: "qvw", tag: Tag::from_bytes(b"QWH ") }, // Huaylla Wanca Quechua -> Quechua (Peru)
1208 LangTag { language: "qvw", tag: Tag::from_bytes(b"QUZ ") }, // Huaylla Wanca Quechua -> Quechua
1209 LangTag { language: "qvz", tag: Tag::from_bytes(b"QVI ") }, // Northern Pastaza Quichua -> Quechua (Ecuador)
1210 LangTag { language: "qvz", tag: Tag::from_bytes(b"QUZ ") }, // Northern Pastaza Quichua -> Quechua
1211 LangTag { language: "qwa", tag: Tag::from_bytes(b"QWH ") }, // Corongo Ancash Quechua -> Quechua (Peru)
1212 LangTag { language: "qwa", tag: Tag::from_bytes(b"QUZ ") }, // Corongo Ancash Quechua -> Quechua
1213 LangTag { language: "qwc", tag: Tag::from_bytes(b"QUZ ") }, // Classical Quechua -> Quechua
1214 LangTag { language: "qwh", tag: Tag::from_bytes(b"QWH ") }, // Huaylas Ancash Quechua -> Quechua (Peru)
1215 LangTag { language: "qwh", tag: Tag::from_bytes(b"QUZ ") }, // Huaylas Ancash Quechua -> Quechua
1216 LangTag { language: "qws", tag: Tag::from_bytes(b"QWH ") }, // Sihuas Ancash Quechua -> Quechua (Peru)
1217 LangTag { language: "qws", tag: Tag::from_bytes(b"QUZ ") }, // Sihuas Ancash Quechua -> Quechua
1218 LangTag { language: "qwt", tag: Tag::from_bytes(b"ATH ") }, // Kwalhioqua-Tlatskanai -> Athapaskan
1219 LangTag { language: "qxa", tag: Tag::from_bytes(b"QWH ") }, // Chiquián Ancash Quechua -> Quechua (Peru)
1220 LangTag { language: "qxa", tag: Tag::from_bytes(b"QUZ ") }, // Chiquián Ancash Quechua -> Quechua
1221 LangTag { language: "qxc", tag: Tag::from_bytes(b"QWH ") }, // Chincha Quechua -> Quechua (Peru)
1222 LangTag { language: "qxc", tag: Tag::from_bytes(b"QUZ ") }, // Chincha Quechua -> Quechua
1223 LangTag { language: "qxh", tag: Tag::from_bytes(b"QWH ") }, // Panao Huánuco Quechua -> Quechua (Peru)
1224 LangTag { language: "qxh", tag: Tag::from_bytes(b"QUZ ") }, // Panao Huánuco Quechua -> Quechua
1225 LangTag { language: "qxl", tag: Tag::from_bytes(b"QVI ") }, // Salasaca Highland Quichua -> Quechua (Ecuador)
1226 LangTag { language: "qxl", tag: Tag::from_bytes(b"QUZ ") }, // Salasaca Highland Quichua -> Quechua
1227 LangTag { language: "qxn", tag: Tag::from_bytes(b"QWH ") }, // Northern Conchucos Ancash Quechua -> Quechua (Peru)
1228 LangTag { language: "qxn", tag: Tag::from_bytes(b"QUZ ") }, // Northern Conchucos Ancash Quechua -> Quechua
1229 LangTag { language: "qxo", tag: Tag::from_bytes(b"QWH ") }, // Southern Conchucos Ancash Quechua -> Quechua (Peru)
1230 LangTag { language: "qxo", tag: Tag::from_bytes(b"QUZ ") }, // Southern Conchucos Ancash Quechua -> Quechua
1231 LangTag { language: "qxp", tag: Tag::from_bytes(b"QUZ ") }, // Puno Quechua -> Quechua
1232 LangTag { language: "qxr", tag: Tag::from_bytes(b"QVI ") }, // Cañar Highland Quichua -> Quechua (Ecuador)
1233 LangTag { language: "qxr", tag: Tag::from_bytes(b"QUZ ") }, // Cañar Highland Quichua -> Quechua
1234 LangTag { language: "qxt", tag: Tag::from_bytes(b"QWH ") }, // Santa Ana de Tusi Pasco Quechua -> Quechua (Peru)
1235 LangTag { language: "qxt", tag: Tag::from_bytes(b"QUZ ") }, // Santa Ana de Tusi Pasco Quechua -> Quechua
1236 LangTag { language: "qxu", tag: Tag::from_bytes(b"QUZ ") }, // Arequipa-La Unión Quechua -> Quechua
1237 LangTag { language: "qxw", tag: Tag::from_bytes(b"QWH ") }, // Jauja Wanca Quechua -> Quechua (Peru)
1238 LangTag { language: "qxw", tag: Tag::from_bytes(b"QUZ ") }, // Jauja Wanca Quechua -> Quechua
1239 LangTag { language: "rag", tag: Tag::from_bytes(b"LUH ") }, // Logooli -> Luyia
1240// LangTag { language: "raj", tag: Tag::from_bytes(b"RAJ ") }, // Rajasthani [macrolanguage]
1241 LangTag { language: "ral", tag: Tag::from_bytes(b"QIN ") }, // Ralte -> Chin
1242// LangTag { language: "rar", tag: Tag::from_bytes(b"RAR ") }, // Rarotongan
1243 LangTag { language: "rbb", tag: Tag::from_bytes(b"PLG ") }, // Rumai Palaung -> Palaung
1244 LangTag { language: "rbl", tag: Tag::from_bytes(b"BIK ") }, // Miraya Bikol -> Bikol
1245 LangTag { language: "rcf", tag: Tag::from_bytes(b"CPP ") }, // Réunion Creole French -> Creoles
1246// LangTag { language: "rej", tag: Tag::from_bytes(b"REJ ") }, // Rejang
1247// LangTag { language: "rhg", tag: Tag::from_bytes(b"RHG ") }, // Rohingya
1248// LangTag { language: "ria", tag: Tag::from_bytes(b"RIA ") }, // Riang (India)
1249 LangTag { language: "rif", tag: Tag::from_bytes(b"RIF ") }, // Tarifit
1250 LangTag { language: "rif", tag: Tag::from_bytes(b"BBR ") }, // Tarifit -> Berber
1251// LangTag { language: "rit", tag: Tag::from_bytes(b"RIT ") }, // Ritharrngu -> Ritarungo
1252 LangTag { language: "rki", tag: Tag::from_bytes(b"ARK ") }, // Rakhine
1253// LangTag { language: "rkw", tag: Tag::from_bytes(b"RKW ") }, // Arakwal
1254 LangTag { language: "rm", tag: Tag::from_bytes(b"RMS ") }, // Romansh
1255 LangTag { language: "rmc", tag: Tag::from_bytes(b"ROY ") }, // Carpathian Romani -> Romany
1256 LangTag { language: "rmf", tag: Tag::from_bytes(b"ROY ") }, // Kalo Finnish Romani -> Romany
1257 LangTag { language: "rml", tag: Tag::from_bytes(b"ROY ") }, // Baltic Romani -> Romany
1258 LangTag { language: "rmn", tag: Tag::from_bytes(b"ROY ") }, // Balkan Romani -> Romany
1259 LangTag { language: "rmo", tag: Tag::from_bytes(b"ROY ") }, // Sinte Romani -> Romany
1260 LangTag { language: "rms", tag: Tag(0) }, // Romanian Sign Language != Romansh
1261 LangTag { language: "rmw", tag: Tag::from_bytes(b"ROY ") }, // Welsh Romani -> Romany
1262 LangTag { language: "rmy", tag: Tag::from_bytes(b"RMY ") }, // Vlax Romani
1263 LangTag { language: "rmy", tag: Tag::from_bytes(b"ROY ") }, // Vlax Romani -> Romany
1264 LangTag { language: "rmz", tag: Tag::from_bytes(b"ARK ") }, // Marma -> Rakhine
1265 LangTag { language: "rn", tag: Tag::from_bytes(b"RUN ") }, // Rundi
1266 LangTag { language: "ro", tag: Tag::from_bytes(b"ROM ") }, // Romanian
1267 LangTag { language: "rom", tag: Tag::from_bytes(b"ROY ") }, // Romany [macrolanguage]
1268 LangTag { language: "rop", tag: Tag::from_bytes(b"CPP ") }, // Kriol -> Creoles
1269 LangTag { language: "rtc", tag: Tag::from_bytes(b"QIN ") }, // Rungtu Chin -> Chin
1270// LangTag { language: "rtm", tag: Tag::from_bytes(b"RTM ") }, // Rotuman
1271 LangTag { language: "ru", tag: Tag::from_bytes(b"RUS ") }, // Russian
1272 LangTag { language: "rue", tag: Tag::from_bytes(b"RSY ") }, // Rusyn
1273// LangTag { language: "rup", tag: Tag::from_bytes(b"RUP ") }, // Aromanian
1274 LangTag { language: "rw", tag: Tag::from_bytes(b"RUA ") }, // Kinyarwanda
1275 LangTag { language: "rwr", tag: Tag::from_bytes(b"MAW ") }, // Marwari (India)
1276 LangTag { language: "sa", tag: Tag::from_bytes(b"SAN ") }, // Sanskrit
1277 LangTag { language: "sad", tag: Tag(0) }, // Sandawe != Sadri
1278 LangTag { language: "sah", tag: Tag::from_bytes(b"YAK ") }, // Yakut -> Sakha
1279 LangTag { language: "sam", tag: Tag::from_bytes(b"PAA ") }, // Samaritan Aramaic -> Palestinian Aramaic
1280// LangTag { language: "sas", tag: Tag::from_bytes(b"SAS ") }, // Sasak
1281// LangTag { language: "sat", tag: Tag::from_bytes(b"SAT ") }, // Santali
1282 LangTag { language: "say", tag: Tag(0) }, // Saya != Sayisi
1283 LangTag { language: "sc", tag: Tag::from_bytes(b"SRD ") }, // Sardinian [macrolanguage]
1284 LangTag { language: "scf", tag: Tag::from_bytes(b"CPP ") }, // San Miguel Creole French -> Creoles
1285 LangTag { language: "sch", tag: Tag::from_bytes(b"QIN ") }, // Sakachep -> Chin
1286 LangTag { language: "sci", tag: Tag::from_bytes(b"CPP ") }, // Sri Lankan Creole Malay -> Creoles
1287 LangTag { language: "sck", tag: Tag::from_bytes(b"SAD ") }, // Sadri
1288// LangTag { language: "scn", tag: Tag::from_bytes(b"SCN ") }, // Sicilian
1289// LangTag { language: "sco", tag: Tag::from_bytes(b"SCO ") }, // Scots
1290 LangTag { language: "scs", tag: Tag::from_bytes(b"SCS ") }, // North Slavey
1291 LangTag { language: "scs", tag: Tag::from_bytes(b"SLA ") }, // North Slavey -> Slavey
1292 LangTag { language: "scs", tag: Tag::from_bytes(b"ATH ") }, // North Slavey -> Athapaskan
1293 LangTag { language: "sd", tag: Tag::from_bytes(b"SND ") }, // Sindhi
1294 LangTag { language: "sdc", tag: Tag::from_bytes(b"SRD ") }, // Sassarese Sardinian -> Sardinian
1295 LangTag { language: "sdh", tag: Tag::from_bytes(b"KUR ") }, // Southern Kurdish -> Kurdish
1296 LangTag { language: "sdn", tag: Tag::from_bytes(b"SRD ") }, // Gallurese Sardinian -> Sardinian
1297 LangTag { language: "sds", tag: Tag::from_bytes(b"BBR ") }, // Sened -> Berber
1298 LangTag { language: "se", tag: Tag::from_bytes(b"NSM ") }, // Northern Sami
1299 LangTag { language: "seh", tag: Tag::from_bytes(b"SNA ") }, // Sena
1300 LangTag { language: "sek", tag: Tag::from_bytes(b"ATH ") }, // Sekani -> Athapaskan
1301// LangTag { language: "sel", tag: Tag::from_bytes(b"SEL ") }, // Selkup
1302 LangTag { language: "sez", tag: Tag::from_bytes(b"QIN ") }, // Senthang Chin -> Chin
1303 LangTag { language: "sfm", tag: Tag::from_bytes(b"SFM ") }, // Small Flowery Miao
1304 LangTag { language: "sfm", tag: Tag::from_bytes(b"HMN ") }, // Small Flowery Miao -> Hmong
1305 LangTag { language: "sg", tag: Tag::from_bytes(b"SGO ") }, // Sango
1306// LangTag { language: "sga", tag: Tag::from_bytes(b"SGA ") }, // Old Irish (to 900)
1307 LangTag { language: "sgc", tag: Tag::from_bytes(b"KAL ") }, // Kipsigis -> Kalenjin
1308 LangTag { language: "sgo", tag: Tag(0) }, // Songa(retired code) != Sango
1309// LangTag { language: "sgs", tag: Tag::from_bytes(b"SGS ") }, // Samogitian
1310 LangTag { language: "sgw", tag: Tag::from_bytes(b"CHG ") }, // Sebat Bet Gurage -> Chaha Gurage
1311 LangTag { language: "shi", tag: Tag::from_bytes(b"SHI ") }, // Tachelhit
1312 LangTag { language: "shi", tag: Tag::from_bytes(b"BBR ") }, // Tachelhit -> Berber
1313 LangTag { language: "shl", tag: Tag::from_bytes(b"QIN ") }, // Shendu -> Chin
1314// LangTag { language: "shn", tag: Tag::from_bytes(b"SHN ") }, // Shan
1315 LangTag { language: "shu", tag: Tag::from_bytes(b"ARA ") }, // Chadian Arabic -> Arabic
1316 LangTag { language: "shy", tag: Tag::from_bytes(b"BBR ") }, // Tachawit -> Berber
1317 LangTag { language: "si", tag: Tag::from_bytes(b"SNH ") }, // Sinhala (Sinhalese)
1318 LangTag { language: "sib", tag: Tag(0) }, // Sebop != Sibe
1319// LangTag { language: "sid", tag: Tag::from_bytes(b"SID ") }, // Sidamo
1320 LangTag { language: "sig", tag: Tag(0) }, // Paasaal != Silte Gurage
1321 LangTag { language: "siz", tag: Tag::from_bytes(b"BBR ") }, // Siwi -> Berber
1322 LangTag { language: "sjd", tag: Tag::from_bytes(b"KSM ") }, // Kildin Sami
1323 LangTag { language: "sjo", tag: Tag::from_bytes(b"SIB ") }, // Xibe -> Sibe
1324 LangTag { language: "sjs", tag: Tag::from_bytes(b"BBR ") }, // Senhaja De Srair -> Berber
1325 LangTag { language: "sk", tag: Tag::from_bytes(b"SKY ") }, // Slovak
1326 LangTag { language: "skg", tag: Tag::from_bytes(b"MLG ") }, // Sakalava Malagasy -> Malagasy
1327 LangTag { language: "skr", tag: Tag::from_bytes(b"SRK ") }, // Saraiki
1328 LangTag { language: "sks", tag: Tag(0) }, // Maia != Skolt Sami
1329 LangTag { language: "skw", tag: Tag::from_bytes(b"CPP ") }, // Skepi Creole Dutch -> Creoles
1330 LangTag { language: "sky", tag: Tag(0) }, // Sikaiana != Slovak
1331 LangTag { language: "sl", tag: Tag::from_bytes(b"SLV ") }, // Slovenian
1332 LangTag { language: "sla", tag: Tag(0) }, // Slavic [family] != Slavey
1333 LangTag { language: "sm", tag: Tag::from_bytes(b"SMO ") }, // Samoan
1334 LangTag { language: "sma", tag: Tag::from_bytes(b"SSM ") }, // Southern Sami
1335 LangTag { language: "smd", tag: Tag::from_bytes(b"MBN ") }, // Sama(retired code) -> Mbundu
1336 LangTag { language: "smj", tag: Tag::from_bytes(b"LSM ") }, // Lule Sami
1337 LangTag { language: "sml", tag: Tag(0) }, // Central Sama != Somali
1338 LangTag { language: "smn", tag: Tag::from_bytes(b"ISM ") }, // Inari Sami
1339 LangTag { language: "sms", tag: Tag::from_bytes(b"SKS ") }, // Skolt Sami
1340 LangTag { language: "smt", tag: Tag::from_bytes(b"QIN ") }, // Simte -> Chin
1341 LangTag { language: "sn", tag: Tag::from_bytes(b"SNA0") }, // Shona
1342 LangTag { language: "snb", tag: Tag::from_bytes(b"IBA ") }, // Sebuyau(retired code) -> Iban
1343 LangTag { language: "snh", tag: Tag(0) }, // Shinabo(retired code) != Sinhala (Sinhalese)
1344// LangTag { language: "snk", tag: Tag::from_bytes(b"SNK ") }, // Soninke
1345 LangTag { language: "so", tag: Tag::from_bytes(b"SML ") }, // Somali
1346 LangTag { language: "sog", tag: Tag(0) }, // Sogdian != Sodo Gurage
1347// LangTag { language: "sop", tag: Tag::from_bytes(b"SOP ") }, // Songe
1348 LangTag { language: "spv", tag: Tag::from_bytes(b"ORI ") }, // Sambalpuri -> Odia (formerly Oriya)
1349 LangTag { language: "spy", tag: Tag::from_bytes(b"KAL ") }, // Sabaot -> Kalenjin
1350 LangTag { language: "sq", tag: Tag::from_bytes(b"SQI ") }, // Albanian [macrolanguage]
1351 LangTag { language: "sr", tag: Tag::from_bytes(b"SRB ") }, // Serbian
1352 LangTag { language: "srb", tag: Tag(0) }, // Sora != Serbian
1353 LangTag { language: "src", tag: Tag::from_bytes(b"SRD ") }, // Logudorese Sardinian -> Sardinian
1354 LangTag { language: "srk", tag: Tag(0) }, // Serudung Murut != Saraiki
1355 LangTag { language: "srm", tag: Tag::from_bytes(b"CPP ") }, // Saramaccan -> Creoles
1356 LangTag { language: "srn", tag: Tag::from_bytes(b"CPP ") }, // Sranan Tongo -> Creoles
1357 LangTag { language: "sro", tag: Tag::from_bytes(b"SRD ") }, // Campidanese Sardinian -> Sardinian
1358// LangTag { language: "srr", tag: Tag::from_bytes(b"SRR ") }, // Serer
1359 LangTag { language: "srs", tag: Tag::from_bytes(b"ATH ") }, // Sarsi -> Athapaskan
1360 LangTag { language: "ss", tag: Tag::from_bytes(b"SWZ ") }, // Swati
1361 LangTag { language: "ssh", tag: Tag::from_bytes(b"ARA ") }, // Shihhi Arabic -> Arabic
1362 LangTag { language: "ssl", tag: Tag(0) }, // Western Sisaala != South Slavey
1363 LangTag { language: "ssm", tag: Tag(0) }, // Semnam != Southern Sami
1364 LangTag { language: "st", tag: Tag::from_bytes(b"SOT ") }, // Southern Sotho
1365 LangTag { language: "sta", tag: Tag::from_bytes(b"CPP ") }, // Settla -> Creoles
1366// LangTag { language: "stq", tag: Tag::from_bytes(b"STQ ") }, // Saterfriesisch -> Saterland Frisian
1367 LangTag { language: "stv", tag: Tag::from_bytes(b"SIG ") }, // Silt'e -> Silte Gurage
1368 LangTag { language: "su", tag: Tag::from_bytes(b"SUN ") }, // Sundanese
1369// LangTag { language: "suk", tag: Tag::from_bytes(b"SUK ") }, // Sukuma
1370 LangTag { language: "suq", tag: Tag::from_bytes(b"SUR ") }, // Suri
1371 LangTag { language: "sur", tag: Tag(0) }, // Mwaghavul != Suri
1372 LangTag { language: "sv", tag: Tag::from_bytes(b"SVE ") }, // Swedish
1373// LangTag { language: "sva", tag: Tag::from_bytes(b"SVA ") }, // Svan
1374 LangTag { language: "svc", tag: Tag::from_bytes(b"CPP ") }, // Vincentian Creole English -> Creoles
1375 LangTag { language: "sve", tag: Tag(0) }, // Serili != Swedish
1376 LangTag { language: "sw", tag: Tag::from_bytes(b"SWK ") }, // Swahili [macrolanguage]
1377 LangTag { language: "swb", tag: Tag::from_bytes(b"CMR ") }, // Maore Comorian -> Comorian
1378 LangTag { language: "swc", tag: Tag::from_bytes(b"SWK ") }, // Congo Swahili -> Swahili
1379 LangTag { language: "swh", tag: Tag::from_bytes(b"SWK ") }, // Swahili
1380 LangTag { language: "swk", tag: Tag(0) }, // Malawi Sena != Swahili
1381 LangTag { language: "swn", tag: Tag::from_bytes(b"BBR ") }, // Sawknah -> Berber
1382 LangTag { language: "swv", tag: Tag::from_bytes(b"MAW ") }, // Shekhawati -> Marwari
1383// LangTag { language: "sxu", tag: Tag::from_bytes(b"SXU ") }, // Upper Saxon
1384 LangTag { language: "syc", tag: Tag::from_bytes(b"SYR ") }, // Classical Syriac -> Syriac
1385// LangTag { language: "syl", tag: Tag::from_bytes(b"SYL ") }, // Sylheti
1386// LangTag { language: "syr", tag: Tag::from_bytes(b"SYR ") }, // Syriac [macrolanguage]
1387// LangTag { language: "szl", tag: Tag::from_bytes(b"SZL ") }, // Silesian
1388 LangTag { language: "ta", tag: Tag::from_bytes(b"TAM ") }, // Tamil
1389 LangTag { language: "taa", tag: Tag::from_bytes(b"ATH ") }, // Lower Tanana -> Athapaskan
1390// LangTag { language: "tab", tag: Tag::from_bytes(b"TAB ") }, // Tabassaran -> Tabasaran
1391 LangTag { language: "taj", tag: Tag(0) }, // Eastern Tamang != Tajiki
1392 LangTag { language: "taq", tag: Tag::from_bytes(b"TMH ") }, // Tamasheq -> Tamashek
1393 LangTag { language: "taq", tag: Tag::from_bytes(b"BBR ") }, // Tamasheq -> Berber
1394 LangTag { language: "tas", tag: Tag::from_bytes(b"CPP ") }, // Tay Boi -> Creoles
1395 LangTag { language: "tau", tag: Tag::from_bytes(b"ATH ") }, // Upper Tanana -> Athapaskan
1396 LangTag { language: "tcb", tag: Tag::from_bytes(b"ATH ") }, // Tanacross -> Athapaskan
1397 LangTag { language: "tce", tag: Tag::from_bytes(b"ATH ") }, // Southern Tutchone -> Athapaskan
1398 LangTag { language: "tch", tag: Tag::from_bytes(b"CPP ") }, // Turks And Caicos Creole English -> Creoles
1399 LangTag { language: "tcp", tag: Tag::from_bytes(b"QIN ") }, // Tawr Chin -> Chin
1400 LangTag { language: "tcs", tag: Tag::from_bytes(b"CPP ") }, // Torres Strait Creole -> Creoles
1401 LangTag { language: "tcy", tag: Tag::from_bytes(b"TUL ") }, // Tulu
1402 LangTag { language: "tcz", tag: Tag::from_bytes(b"QIN ") }, // Thado Chin -> Chin
1403// LangTag { language: "tdd", tag: Tag::from_bytes(b"TDD ") }, // Tai Nüa -> Dehong Dai
1404 LangTag { language: "tdx", tag: Tag::from_bytes(b"MLG ") }, // Tandroy-Mahafaly Malagasy -> Malagasy
1405 LangTag { language: "te", tag: Tag::from_bytes(b"TEL ") }, // Telugu
1406 LangTag { language: "tec", tag: Tag::from_bytes(b"KAL ") }, // Terik -> Kalenjin
1407 LangTag { language: "tem", tag: Tag::from_bytes(b"TMN ") }, // Timne -> Temne
1408// LangTag { language: "tet", tag: Tag::from_bytes(b"TET ") }, // Tetum
1409 LangTag { language: "tez", tag: Tag::from_bytes(b"BBR ") }, // Tetserret -> Berber
1410 LangTag { language: "tfn", tag: Tag::from_bytes(b"ATH ") }, // Tanaina -> Athapaskan
1411 LangTag { language: "tg", tag: Tag::from_bytes(b"TAJ ") }, // Tajik -> Tajiki
1412 LangTag { language: "tgh", tag: Tag::from_bytes(b"CPP ") }, // Tobagonian Creole English -> Creoles
1413 LangTag { language: "tgj", tag: Tag::from_bytes(b"NIS ") }, // Tagin -> Nisi
1414 LangTag { language: "tgn", tag: Tag(0) }, // Tandaganon != Tongan
1415 LangTag { language: "tgr", tag: Tag(0) }, // Tareng != Tigre
1416 LangTag { language: "tgx", tag: Tag::from_bytes(b"ATH ") }, // Tagish -> Athapaskan
1417 LangTag { language: "tgy", tag: Tag(0) }, // Togoyo != Tigrinya
1418 LangTag { language: "th", tag: Tag::from_bytes(b"THA ") }, // Thai
1419 LangTag { language: "tht", tag: Tag::from_bytes(b"ATH ") }, // Tahltan -> Athapaskan
1420 LangTag { language: "thv", tag: Tag::from_bytes(b"TMH ") }, // Tahaggart Tamahaq -> Tamashek
1421 LangTag { language: "thv", tag: Tag::from_bytes(b"BBR ") }, // Tahaggart Tamahaq -> Berber
1422 LangTag { language: "thz", tag: Tag::from_bytes(b"TMH ") }, // Tayart Tamajeq -> Tamashek
1423 LangTag { language: "thz", tag: Tag::from_bytes(b"BBR ") }, // Tayart Tamajeq -> Berber
1424 LangTag { language: "ti", tag: Tag::from_bytes(b"TGY ") }, // Tigrinya
1425 LangTag { language: "tia", tag: Tag::from_bytes(b"BBR ") }, // Tidikelt Tamazight -> Berber
1426 LangTag { language: "tig", tag: Tag::from_bytes(b"TGR ") }, // Tigre
1427// LangTag { language: "tiv", tag: Tag::from_bytes(b"TIV ") }, // Tiv
1428// LangTag { language: "tjl", tag: Tag::from_bytes(b"TJL ") }, // Tai Laing
1429 LangTag { language: "tjo", tag: Tag::from_bytes(b"BBR ") }, // Temacine Tamazight -> Berber
1430 LangTag { language: "tk", tag: Tag::from_bytes(b"TKM ") }, // Turkmen
1431 LangTag { language: "tkg", tag: Tag::from_bytes(b"MLG ") }, // Tesaka Malagasy -> Malagasy
1432 LangTag { language: "tkm", tag: Tag(0) }, // Takelma != Turkmen
1433 LangTag { language: "tl", tag: Tag::from_bytes(b"TGL ") }, // Tagalog
1434// LangTag { language: "tli", tag: Tag::from_bytes(b"TLI ") }, // Tlingit
1435 LangTag { language: "tmg", tag: Tag::from_bytes(b"CPP ") }, // Ternateño -> Creoles
1436 LangTag { language: "tmh", tag: Tag::from_bytes(b"TMH ") }, // Tamashek [macrolanguage]
1437 LangTag { language: "tmh", tag: Tag::from_bytes(b"BBR ") }, // Tamashek [macrolanguage] -> Berber
1438 LangTag { language: "tmn", tag: Tag(0) }, // Taman (Indonesia) != Temne
1439 LangTag { language: "tmw", tag: Tag::from_bytes(b"MLY ") }, // Temuan -> Malay
1440 LangTag { language: "tn", tag: Tag::from_bytes(b"TNA ") }, // Tswana
1441 LangTag { language: "tna", tag: Tag(0) }, // Tacana != Tswana
1442 LangTag { language: "tne", tag: Tag(0) }, // Tinoc Kallahan(retired code) != Tundra Enets
1443 LangTag { language: "tnf", tag: Tag::from_bytes(b"DRI ") }, // Tangshewi(retired code) -> Dari
1444 LangTag { language: "tnf", tag: Tag::from_bytes(b"FAR ") }, // Tangshewi(retired code) -> Persian
1445 LangTag { language: "tng", tag: Tag(0) }, // Tobanga != Tonga
1446 LangTag { language: "to", tag: Tag::from_bytes(b"TGN ") }, // Tonga (Tonga Islands) -> Tongan
1447 LangTag { language: "tod", tag: Tag::from_bytes(b"TOD0") }, // Toma
1448 LangTag { language: "toi", tag: Tag::from_bytes(b"TNG ") }, // Tonga (Zambia)
1449 LangTag { language: "toj", tag: Tag::from_bytes(b"MYN ") }, // Tojolabal -> Mayan
1450 LangTag { language: "tol", tag: Tag::from_bytes(b"ATH ") }, // Tolowa -> Athapaskan
1451 LangTag { language: "tor", tag: Tag::from_bytes(b"BAD0") }, // Togbo-Vara Banda -> Banda
1452 LangTag { language: "tpi", tag: Tag::from_bytes(b"TPI ") }, // Tok Pisin
1453 LangTag { language: "tpi", tag: Tag::from_bytes(b"CPP ") }, // Tok Pisin -> Creoles
1454 LangTag { language: "tr", tag: Tag::from_bytes(b"TRK ") }, // Turkish
1455 LangTag { language: "trf", tag: Tag::from_bytes(b"CPP ") }, // Trinidadian Creole English -> Creoles
1456 LangTag { language: "trk", tag: Tag(0) }, // Turkic [family] != Turkish
1457 LangTag { language: "tru", tag: Tag::from_bytes(b"TUA ") }, // Turoyo -> Turoyo Aramaic
1458 LangTag { language: "tru", tag: Tag::from_bytes(b"SYR ") }, // Turoyo -> Syriac
1459 LangTag { language: "ts", tag: Tag::from_bytes(b"TSG ") }, // Tsonga
1460 LangTag { language: "tsg", tag: Tag(0) }, // Tausug != Tsonga
1461// LangTag { language: "tsj", tag: Tag::from_bytes(b"TSJ ") }, // Tshangla
1462 LangTag { language: "tt", tag: Tag::from_bytes(b"TAT ") }, // Tatar
1463 LangTag { language: "ttc", tag: Tag::from_bytes(b"MYN ") }, // Tektiteko -> Mayan
1464 LangTag { language: "ttm", tag: Tag::from_bytes(b"ATH ") }, // Northern Tutchone -> Athapaskan
1465 LangTag { language: "ttq", tag: Tag::from_bytes(b"TMH ") }, // Tawallammat Tamajaq -> Tamashek
1466 LangTag { language: "ttq", tag: Tag::from_bytes(b"BBR ") }, // Tawallammat Tamajaq -> Berber
1467 LangTag { language: "tua", tag: Tag(0) }, // Wiarumus != Turoyo Aramaic
1468 LangTag { language: "tul", tag: Tag(0) }, // Tula != Tulu
1469// LangTag { language: "tum", tag: Tag::from_bytes(b"TUM ") }, // Tumbuka
1470 LangTag { language: "tuu", tag: Tag::from_bytes(b"ATH ") }, // Tututni -> Athapaskan
1471 LangTag { language: "tuv", tag: Tag(0) }, // Turkana != Tuvin
1472 LangTag { language: "tuy", tag: Tag::from_bytes(b"KAL ") }, // Tugen -> Kalenjin
1473// LangTag { language: "tvl", tag: Tag::from_bytes(b"TVL ") }, // Tuvalu
1474 LangTag { language: "tvy", tag: Tag::from_bytes(b"CPP ") }, // Timor Pidgin -> Creoles
1475 LangTag { language: "tw", tag: Tag::from_bytes(b"TWI ") }, // Twi
1476 LangTag { language: "tw", tag: Tag::from_bytes(b"AKA ") }, // Twi -> Akan
1477 LangTag { language: "txc", tag: Tag::from_bytes(b"ATH ") }, // Tsetsaut -> Athapaskan
1478 LangTag { language: "txy", tag: Tag::from_bytes(b"MLG ") }, // Tanosy Malagasy -> Malagasy
1479 LangTag { language: "ty", tag: Tag::from_bytes(b"THT ") }, // Tahitian
1480 LangTag { language: "tyv", tag: Tag::from_bytes(b"TUV ") }, // Tuvinian -> Tuvin
1481// LangTag { language: "tyz", tag: Tag::from_bytes(b"TYZ ") }, // Tày
1482 LangTag { language: "tzh", tag: Tag::from_bytes(b"MYN ") }, // Tzeltal -> Mayan
1483 LangTag { language: "tzj", tag: Tag::from_bytes(b"MYN ") }, // Tz'utujil -> Mayan
1484 LangTag { language: "tzm", tag: Tag::from_bytes(b"TZM ") }, // Central Atlas Tamazight -> Tamazight
1485 LangTag { language: "tzm", tag: Tag::from_bytes(b"BBR ") }, // Central Atlas Tamazight -> Berber
1486 LangTag { language: "tzo", tag: Tag::from_bytes(b"TZO ") }, // Tzotzil
1487 LangTag { language: "tzo", tag: Tag::from_bytes(b"MYN ") }, // Tzotzil -> Mayan
1488 LangTag { language: "ubl", tag: Tag::from_bytes(b"BIK ") }, // Buhi'non Bikol -> Bikol
1489// LangTag { language: "udm", tag: Tag::from_bytes(b"UDM ") }, // Udmurt
1490 LangTag { language: "ug", tag: Tag::from_bytes(b"UYG ") }, // Uyghur
1491 LangTag { language: "uk", tag: Tag::from_bytes(b"UKR ") }, // Ukrainian
1492 LangTag { language: "uki", tag: Tag::from_bytes(b"KUI ") }, // Kui (India)
1493 LangTag { language: "uln", tag: Tag::from_bytes(b"CPP ") }, // Unserdeutsch -> Creoles
1494// LangTag { language: "umb", tag: Tag::from_bytes(b"UMB ") }, // Umbundu
1495 LangTag { language: "unr", tag: Tag::from_bytes(b"MUN ") }, // Mundari
1496 LangTag { language: "ur", tag: Tag::from_bytes(b"URD ") }, // Urdu
1497 LangTag { language: "urk", tag: Tag::from_bytes(b"MLY ") }, // Urak Lawoi' -> Malay
1498 LangTag { language: "usp", tag: Tag::from_bytes(b"MYN ") }, // Uspanteco -> Mayan
1499 LangTag { language: "uz", tag: Tag::from_bytes(b"UZB ") }, // Uzbek [macrolanguage]
1500 LangTag { language: "uzn", tag: Tag::from_bytes(b"UZB ") }, // Northern Uzbek -> Uzbek
1501 LangTag { language: "uzs", tag: Tag::from_bytes(b"UZB ") }, // Southern Uzbek -> Uzbek
1502 LangTag { language: "vap", tag: Tag::from_bytes(b"QIN ") }, // Vaiphei -> Chin
1503 LangTag { language: "ve", tag: Tag::from_bytes(b"VEN ") }, // Venda
1504// LangTag { language: "vec", tag: Tag::from_bytes(b"VEC ") }, // Venetian
1505 LangTag { language: "vi", tag: Tag::from_bytes(b"VIT ") }, // Vietnamese
1506 LangTag { language: "vic", tag: Tag::from_bytes(b"CPP ") }, // Virgin Islands Creole English -> Creoles
1507 LangTag { language: "vit", tag: Tag(0) }, // Viti != Vietnamese
1508 LangTag { language: "vkk", tag: Tag::from_bytes(b"MLY ") }, // Kaur -> Malay
1509 LangTag { language: "vkp", tag: Tag::from_bytes(b"CPP ") }, // Korlai Creole Portuguese -> Creoles
1510 LangTag { language: "vkt", tag: Tag::from_bytes(b"MLY ") }, // Tenggarong Kutai Malay -> Malay
1511 LangTag { language: "vls", tag: Tag::from_bytes(b"FLE ") }, // Vlaams -> Dutch (Flemish)
1512 LangTag { language: "vmw", tag: Tag::from_bytes(b"MAK ") }, // Makhuwa
1513 LangTag { language: "vo", tag: Tag::from_bytes(b"VOL ") }, // Volapük
1514// LangTag { language: "vro", tag: Tag::from_bytes(b"VRO ") }, // Võro
1515 LangTag { language: "wa", tag: Tag::from_bytes(b"WLN ") }, // Walloon
1516 LangTag { language: "wag", tag: Tag(0) }, // Wa'ema != Wagdi
1517// LangTag { language: "war", tag: Tag::from_bytes(b"WAR ") }, // Waray (Philippines) -> Waray-Waray
1518 LangTag { language: "wbm", tag: Tag::from_bytes(b"WA ") }, // Wa
1519 LangTag { language: "wbr", tag: Tag::from_bytes(b"WAG ") }, // Wagdi
1520 LangTag { language: "wbr", tag: Tag::from_bytes(b"RAJ ") }, // Wagdi -> Rajasthani
1521// LangTag { language: "wci", tag: Tag::from_bytes(b"WCI ") }, // Waci Gbe
1522 LangTag { language: "wea", tag: Tag::from_bytes(b"KRN ") }, // Wewaw -> Karen
1523 LangTag { language: "wes", tag: Tag::from_bytes(b"CPP ") }, // Cameroon Pidgin -> Creoles
1524 LangTag { language: "weu", tag: Tag::from_bytes(b"QIN ") }, // Rawngtu Chin -> Chin
1525 LangTag { language: "wlc", tag: Tag::from_bytes(b"CMR ") }, // Mwali Comorian -> Comorian
1526 LangTag { language: "wle", tag: Tag::from_bytes(b"SIG ") }, // Wolane -> Silte Gurage
1527 LangTag { language: "wlk", tag: Tag::from_bytes(b"ATH ") }, // Wailaki -> Athapaskan
1528 LangTag { language: "wni", tag: Tag::from_bytes(b"CMR ") }, // Ndzwani Comorian -> Comorian
1529 LangTag { language: "wo", tag: Tag::from_bytes(b"WLF ") }, // Wolof
1530 LangTag { language: "wry", tag: Tag::from_bytes(b"MAW ") }, // Merwari -> Marwari
1531 LangTag { language: "wsg", tag: Tag::from_bytes(b"GON ") }, // Adilabad Gondi -> Gondi
1532// LangTag { language: "wtm", tag: Tag::from_bytes(b"WTM ") }, // Mewati
1533 LangTag { language: "wuu", tag: Tag::from_bytes(b"ZHS ") }, // Wu Chinese -> Chinese, Simplified
1534 LangTag { language: "xal", tag: Tag::from_bytes(b"KLM ") }, // Kalmyk
1535 LangTag { language: "xal", tag: Tag::from_bytes(b"TOD ") }, // Kalmyk -> Todo
1536 LangTag { language: "xan", tag: Tag::from_bytes(b"SEK ") }, // Xamtanga -> Sekota
1537 LangTag { language: "xbd", tag: Tag(0) }, // Bindal != Lü
1538 LangTag { language: "xh", tag: Tag::from_bytes(b"XHS ") }, // Xhosa
1539// LangTag { language: "xjb", tag: Tag::from_bytes(b"XJB ") }, // Minjungbal -> Minjangbal
1540// LangTag { language: "xkf", tag: Tag::from_bytes(b"XKF ") }, // Khengkha
1541 LangTag { language: "xmg", tag: Tag::from_bytes(b"BML ") }, // Mengaka -> Bamileke
1542 LangTag { language: "xmm", tag: Tag::from_bytes(b"MLY ") }, // Manado Malay -> Malay
1543 LangTag { language: "xmm", tag: Tag::from_bytes(b"CPP ") }, // Manado Malay -> Creoles
1544 LangTag { language: "xmv", tag: Tag::from_bytes(b"MLG ") }, // Antankarana Malagasy -> Malagasy
1545 LangTag { language: "xmw", tag: Tag::from_bytes(b"MLG ") }, // Tsimihety Malagasy -> Malagasy
1546 LangTag { language: "xnj", tag: Tag::from_bytes(b"SXT ") }, // Ngoni (Tanzania) -> Sutu
1547 LangTag { language: "xnq", tag: Tag::from_bytes(b"SXT ") }, // Ngoni (Mozambique) -> Sutu
1548 LangTag { language: "xnr", tag: Tag::from_bytes(b"DGR ") }, // Kangri -> Dogri (macrolanguage)
1549// LangTag { language: "xog", tag: Tag::from_bytes(b"XOG ") }, // Soga
1550 LangTag { language: "xpe", tag: Tag::from_bytes(b"XPE ") }, // Liberia Kpelle -> Kpelle (Liberia)
1551 LangTag { language: "xpe", tag: Tag::from_bytes(b"KPL ") }, // Liberia Kpelle -> Kpelle
1552 LangTag { language: "xsl", tag: Tag::from_bytes(b"SSL ") }, // South Slavey
1553 LangTag { language: "xsl", tag: Tag::from_bytes(b"SLA ") }, // South Slavey -> Slavey
1554 LangTag { language: "xsl", tag: Tag::from_bytes(b"ATH ") }, // South Slavey -> Athapaskan
1555 LangTag { language: "xst", tag: Tag::from_bytes(b"SIG ") }, // Silt'e(retired code) -> Silte Gurage
1556// LangTag { language: "xub", tag: Tag::from_bytes(b"XUB ") }, // Betta Kurumba -> Bette Kuruma
1557// LangTag { language: "xuj", tag: Tag::from_bytes(b"XUJ ") }, // Jennu Kurumba -> Jennu Kuruma
1558 LangTag { language: "xup", tag: Tag::from_bytes(b"ATH ") }, // Upper Umpqua -> Athapaskan
1559 LangTag { language: "xwo", tag: Tag::from_bytes(b"TOD ") }, // Written Oirat -> Todo
1560 LangTag { language: "yaj", tag: Tag::from_bytes(b"BAD0") }, // Banda-Yangere -> Banda
1561 LangTag { language: "yak", tag: Tag(0) }, // Yakama != Sakha
1562// LangTag { language: "yao", tag: Tag::from_bytes(b"YAO ") }, // Yao
1563// LangTag { language: "yap", tag: Tag::from_bytes(b"YAP ") }, // Yapese
1564 LangTag { language: "yba", tag: Tag(0) }, // Yala != Yoruba
1565 LangTag { language: "ybb", tag: Tag::from_bytes(b"BML ") }, // Yemba -> Bamileke
1566 LangTag { language: "ybd", tag: Tag::from_bytes(b"ARK ") }, // Yangbye(retired code) -> Rakhine
1567 LangTag { language: "ycr", tag: Tag(0) }, // Yilan Creole != Y-Cree
1568 LangTag { language: "ydd", tag: Tag::from_bytes(b"JII ") }, // Eastern Yiddish -> Yiddish
1569// LangTag { language: "ygp", tag: Tag::from_bytes(b"YGP ") }, // Gepo
1570 LangTag { language: "yi", tag: Tag::from_bytes(b"JII ") }, // Yiddish [macrolanguage]
1571 LangTag { language: "yih", tag: Tag::from_bytes(b"JII ") }, // Western Yiddish -> Yiddish
1572 LangTag { language: "yim", tag: Tag(0) }, // Yimchungru Naga != Yi Modern
1573// LangTag { language: "yna", tag: Tag::from_bytes(b"YNA ") }, // Aluo
1574 LangTag { language: "yo", tag: Tag::from_bytes(b"YBA ") }, // Yoruba
1575 LangTag { language: "yos", tag: Tag::from_bytes(b"QIN ") }, // Yos(retired code) -> Chin
1576 LangTag { language: "yua", tag: Tag::from_bytes(b"MYN ") }, // Yucateco -> Mayan
1577 LangTag { language: "yue", tag: Tag::from_bytes(b"ZHH ") }, // Yue Chinese -> Chinese, Traditional, Hong Kong SAR
1578// LangTag { language: "ywq", tag: Tag::from_bytes(b"YWQ ") }, // Wuding-Luquan Yi
1579 LangTag { language: "za", tag: Tag::from_bytes(b"ZHA ") }, // Zhuang [macrolanguage]
1580 LangTag { language: "zch", tag: Tag::from_bytes(b"ZHA ") }, // Central Hongshuihe Zhuang -> Zhuang
1581 LangTag { language: "zdj", tag: Tag::from_bytes(b"CMR ") }, // Ngazidja Comorian -> Comorian
1582// LangTag { language: "zea", tag: Tag::from_bytes(b"ZEA ") }, // Zeeuws -> Zealandic
1583 LangTag { language: "zeh", tag: Tag::from_bytes(b"ZHA ") }, // Eastern Hongshuihe Zhuang -> Zhuang
1584 LangTag { language: "zen", tag: Tag::from_bytes(b"BBR ") }, // Zenaga -> Berber
1585 LangTag { language: "zgb", tag: Tag::from_bytes(b"ZHA ") }, // Guibei Zhuang -> Zhuang
1586 LangTag { language: "zgh", tag: Tag::from_bytes(b"ZGH ") }, // Standard Moroccan Tamazight
1587 LangTag { language: "zgh", tag: Tag::from_bytes(b"BBR ") }, // Standard Moroccan Tamazight -> Berber
1588 LangTag { language: "zgm", tag: Tag::from_bytes(b"ZHA ") }, // Minz Zhuang -> Zhuang
1589 LangTag { language: "zgn", tag: Tag::from_bytes(b"ZHA ") }, // Guibian Zhuang -> Zhuang
1590 LangTag { language: "zh", tag: Tag::from_bytes(b"ZHS ") }, // Chinese, Simplified [macrolanguage]
1591 LangTag { language: "zhd", tag: Tag::from_bytes(b"ZHA ") }, // Dai Zhuang -> Zhuang
1592 LangTag { language: "zhn", tag: Tag::from_bytes(b"ZHA ") }, // Nong Zhuang -> Zhuang
1593 LangTag { language: "zkb", tag: Tag::from_bytes(b"KHA ") }, // Koibal(retired code) -> Khakass
1594 LangTag { language: "zlj", tag: Tag::from_bytes(b"ZHA ") }, // Liujiang Zhuang -> Zhuang
1595 LangTag { language: "zlm", tag: Tag::from_bytes(b"MLY ") }, // Malay
1596 LangTag { language: "zln", tag: Tag::from_bytes(b"ZHA ") }, // Lianshan Zhuang -> Zhuang
1597 LangTag { language: "zlq", tag: Tag::from_bytes(b"ZHA ") }, // Liuqian Zhuang -> Zhuang
1598 LangTag { language: "zmi", tag: Tag::from_bytes(b"MLY ") }, // Negeri Sembilan Malay -> Malay
1599 LangTag { language: "zmz", tag: Tag::from_bytes(b"BAD0") }, // Mbandja -> Banda
1600 LangTag { language: "znd", tag: Tag(0) }, // Zande [family] != Zande
1601 LangTag { language: "zne", tag: Tag::from_bytes(b"ZND ") }, // Zande
1602 LangTag { language: "zom", tag: Tag::from_bytes(b"QIN ") }, // Zou -> Chin
1603 LangTag { language: "zqe", tag: Tag::from_bytes(b"ZHA ") }, // Qiubei Zhuang -> Zhuang
1604 LangTag { language: "zsm", tag: Tag::from_bytes(b"MLY ") }, // Standard Malay -> Malay
1605 LangTag { language: "zu", tag: Tag::from_bytes(b"ZUL ") }, // Zulu
1606 LangTag { language: "zum", tag: Tag::from_bytes(b"LRC ") }, // Kumzari -> Luri
1607 LangTag { language: "zyb", tag: Tag::from_bytes(b"ZHA ") }, // Yongbei Zhuang -> Zhuang
1608 LangTag { language: "zyg", tag: Tag::from_bytes(b"ZHA ") }, // Yang Zhuang -> Zhuang
1609 LangTag { language: "zyj", tag: Tag::from_bytes(b"ZHA ") }, // Youjiang Zhuang -> Zhuang
1610 LangTag { language: "zyn", tag: Tag::from_bytes(b"ZHA ") }, // Yongnan Zhuang -> Zhuang
1611 LangTag { language: "zyp", tag: Tag::from_bytes(b"QIN ") }, // Zyphe Chin -> Chin
1612// LangTag { language: "zza", tag: Tag::from_bytes(b"ZZA ") }, // Zazaki [macrolanguage]
1613 LangTag { language: "zzj", tag: Tag::from_bytes(b"ZHA ") }, // Zuojiang Zhuang -> Zhuang
1614];
1615
1616fn subtag_matches(language: &str, subtag: &str) -> bool {
1617 for (i: usize, _) in language.match_indices(subtag) {
1618 if let Some(c: &u8) = language.as_bytes().get(index:i + subtag.len()) {
1619 if !c.is_ascii_alphanumeric() {
1620 return true;
1621 }
1622 } else {
1623 return true;
1624 }
1625 }
1626
1627 false
1628}
1629
1630fn lang_matches(language: &str, spec: &str) -> bool {
1631 if language.starts_with(spec) {
1632 return language.len() == spec.len() || language.as_bytes().get(index:spec.len()) == Some(&b'-');
1633 }
1634
1635 false
1636}
1637
1638fn strncmp(s1: &str, s2: &str, n: usize) -> bool {
1639 let n1: usize = core::cmp::min(v1:n, v2:s1.len());
1640 let n2: usize = core::cmp::min(v1:n, v2:s2.len());
1641 &s1[..n1] == &s2[..n2]
1642}
1643
1644/// Converts a multi-subtag BCP 47 language tag to language tags.
1645pub fn tags_from_complex_language(language: &str, tags: &mut smallvec::SmallVec<[Tag; 3]>) -> bool {
1646 if subtag_matches(language, "-fonnapa") {
1647 // Undetermined; North American Phonetic Alphabet
1648 tags.push(Tag::from_bytes(b"APPH")); // Phonetic transcription—Americanist conventions
1649 return true;
1650 }
1651 if subtag_matches(language, "-polyton") {
1652 // Modern Greek (1453-); Polytonic Greek
1653 tags.push(Tag::from_bytes(b"PGR ")); // Polytonic Greek
1654 return true;
1655 }
1656 if subtag_matches(language, "-arevmda") {
1657 // Armenian; Western Armenian (retired code)
1658 tags.push(Tag::from_bytes(b"HYE ")); // Armenian
1659 return true;
1660 }
1661 if subtag_matches(language, "-provenc") {
1662 // Occitan (post 1500); Provençal
1663 tags.push(Tag::from_bytes(b"PRO ")); // Provençal / Old Provençal
1664 return true;
1665 }
1666 if subtag_matches(language, "-fonipa") {
1667 // Undetermined; International Phonetic Alphabet
1668 tags.push(Tag::from_bytes(b"IPPH")); // Phonetic transcription—IPA conventions
1669 return true;
1670 }
1671 if subtag_matches(language, "-geok") {
1672 // Undetermined; Khutsuri (Asomtavruli and Nuskhuri)
1673 tags.push(Tag::from_bytes(b"KGE ")); // Khutsuri Georgian
1674 return true;
1675 }
1676 if subtag_matches(language, "-syre") {
1677 // Undetermined; Syriac (Estrangelo variant)
1678 tags.push(Tag::from_bytes(b"SYRE")); // Syriac, Estrangela script-variant (equivalent to ISO 15924 'Syre')
1679 return true;
1680 }
1681 if subtag_matches(language, "-syrj") {
1682 // Undetermined; Syriac (Western variant)
1683 tags.push(Tag::from_bytes(b"SYRJ")); // Syriac, Western script-variant (equivalent to ISO 15924 'Syrj')
1684 return true;
1685 }
1686 if subtag_matches(language, "-syrn") {
1687 // Undetermined; Syriac (Eastern variant)
1688 tags.push(Tag::from_bytes(b"SYRN")); // Syriac, Eastern script-variant (equivalent to ISO 15924 'Syrn')
1689 return true;
1690 }
1691 match language.as_bytes()[0] {
1692 b'a' => {
1693 if &language[1..] == "rt-lojban" {
1694 // Lojban(retired code)
1695 tags.push(Tag::from_bytes(b"JBO ")); // Lojban
1696 return true;
1697 }
1698 }
1699 b'c' => {
1700 if lang_matches(&language[1..], "do-hant-hk") {
1701 // Min Dong Chinese; Han (Traditional variant); Hong Kong
1702 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1703 return true;
1704 }
1705 if lang_matches(&language[1..], "do-hant-mo") {
1706 // Min Dong Chinese; Han (Traditional variant); Macao
1707 let possible_tags = &[
1708 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1709 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1710 ];
1711 tags.extend_from_slice(possible_tags);
1712 return true;
1713 }
1714 if lang_matches(&language[1..], "jy-hant-hk") {
1715 // Jinyu Chinese; Han (Traditional variant); Hong Kong
1716 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1717 return true;
1718 }
1719 if lang_matches(&language[1..], "jy-hant-mo") {
1720 // Jinyu Chinese; Han (Traditional variant); Macao
1721 let possible_tags = &[
1722 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1723 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1724 ];
1725 tags.extend_from_slice(possible_tags);
1726 return true;
1727 }
1728 if lang_matches(&language[1..], "mn-hant-hk") {
1729 // Mandarin Chinese; Han (Traditional variant); Hong Kong
1730 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1731 return true;
1732 }
1733 if lang_matches(&language[1..], "mn-hant-mo") {
1734 // Mandarin Chinese; Han (Traditional variant); Macao
1735 let possible_tags = &[
1736 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1737 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1738 ];
1739 tags.extend_from_slice(possible_tags);
1740 return true;
1741 }
1742 if lang_matches(&language[1..], "np-hant-hk") {
1743 // Northern Ping Chinese; Han (Traditional variant); Hong Kong
1744 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1745 return true;
1746 }
1747 if lang_matches(&language[1..], "np-hant-mo") {
1748 // Northern Ping Chinese; Han (Traditional variant); Macao
1749 let possible_tags = &[
1750 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1751 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1752 ];
1753 tags.extend_from_slice(possible_tags);
1754 return true;
1755 }
1756 if lang_matches(&language[1..], "px-hant-hk") {
1757 // Pu-Xian Chinese; Han (Traditional variant); Hong Kong
1758 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1759 return true;
1760 }
1761 if lang_matches(&language[1..], "px-hant-mo") {
1762 // Pu-Xian Chinese; Han (Traditional variant); Macao
1763 let possible_tags = &[
1764 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1765 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1766 ];
1767 tags.extend_from_slice(possible_tags);
1768 return true;
1769 }
1770 if lang_matches(&language[1..], "sp-hant-hk") {
1771 // Southern Ping Chinese; Han (Traditional variant); Hong Kong
1772 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1773 return true;
1774 }
1775 if lang_matches(&language[1..], "sp-hant-mo") {
1776 // Southern Ping Chinese; Han (Traditional variant); Macao
1777 let possible_tags = &[
1778 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1779 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1780 ];
1781 tags.extend_from_slice(possible_tags);
1782 return true;
1783 }
1784 if lang_matches(&language[1..], "zh-hant-hk") {
1785 // Huizhou Chinese; Han (Traditional variant); Hong Kong
1786 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1787 return true;
1788 }
1789 if lang_matches(&language[1..], "zh-hant-mo") {
1790 // Huizhou Chinese; Han (Traditional variant); Macao
1791 let possible_tags = &[
1792 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1793 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1794 ];
1795 tags.extend_from_slice(possible_tags);
1796 return true;
1797 }
1798 if lang_matches(&language[1..], "zo-hant-hk") {
1799 // Min Zhong Chinese; Han (Traditional variant); Hong Kong
1800 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1801 return true;
1802 }
1803 if lang_matches(&language[1..], "zo-hant-mo") {
1804 // Min Zhong Chinese; Han (Traditional variant); Macao
1805 let possible_tags = &[
1806 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1807 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1808 ];
1809 tags.extend_from_slice(possible_tags);
1810 return true;
1811 }
1812 if lang_matches(&language[1..], "do-hans") {
1813 // Min Dong Chinese; Han (Simplified variant)
1814 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1815 return true;
1816 }
1817 if lang_matches(&language[1..], "do-hant") {
1818 // Min Dong Chinese; Han (Traditional variant)
1819 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1820 return true;
1821 }
1822 if lang_matches(&language[1..], "jy-hans") {
1823 // Jinyu Chinese; Han (Simplified variant)
1824 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1825 return true;
1826 }
1827 if lang_matches(&language[1..], "jy-hant") {
1828 // Jinyu Chinese; Han (Traditional variant)
1829 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1830 return true;
1831 }
1832 if lang_matches(&language[1..], "mn-hans") {
1833 // Mandarin Chinese; Han (Simplified variant)
1834 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1835 return true;
1836 }
1837 if lang_matches(&language[1..], "mn-hant") {
1838 // Mandarin Chinese; Han (Traditional variant)
1839 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1840 return true;
1841 }
1842 if lang_matches(&language[1..], "np-hans") {
1843 // Northern Ping Chinese; Han (Simplified variant)
1844 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1845 return true;
1846 }
1847 if lang_matches(&language[1..], "np-hant") {
1848 // Northern Ping Chinese; Han (Traditional variant)
1849 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1850 return true;
1851 }
1852 if lang_matches(&language[1..], "px-hans") {
1853 // Pu-Xian Chinese; Han (Simplified variant)
1854 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1855 return true;
1856 }
1857 if lang_matches(&language[1..], "px-hant") {
1858 // Pu-Xian Chinese; Han (Traditional variant)
1859 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1860 return true;
1861 }
1862 if lang_matches(&language[1..], "sp-hans") {
1863 // Southern Ping Chinese; Han (Simplified variant)
1864 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1865 return true;
1866 }
1867 if lang_matches(&language[1..], "sp-hant") {
1868 // Southern Ping Chinese; Han (Traditional variant)
1869 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1870 return true;
1871 }
1872 if lang_matches(&language[1..], "zh-hans") {
1873 // Huizhou Chinese; Han (Simplified variant)
1874 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1875 return true;
1876 }
1877 if lang_matches(&language[1..], "zh-hant") {
1878 // Huizhou Chinese; Han (Traditional variant)
1879 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1880 return true;
1881 }
1882 if lang_matches(&language[1..], "zo-hans") {
1883 // Min Zhong Chinese; Han (Simplified variant)
1884 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
1885 return true;
1886 }
1887 if lang_matches(&language[1..], "zo-hant") {
1888 // Min Zhong Chinese; Han (Traditional variant)
1889 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1890 return true;
1891 }
1892 if strncmp(&language[1..], "do-", 3) && subtag_matches(language, "-hk") {
1893 // Min Dong Chinese; Hong Kong
1894 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1895 return true;
1896 }
1897 if strncmp(&language[1..], "do-", 3) && subtag_matches(language, "-mo") {
1898 // Min Dong Chinese; Macao
1899 let possible_tags = &[
1900 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1901 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1902 ];
1903 tags.extend_from_slice(possible_tags);
1904 return true;
1905 }
1906 if strncmp(&language[1..], "do-", 3) && subtag_matches(language, "-tw") {
1907 // Min Dong Chinese; Taiwan, Province of China
1908 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1909 return true;
1910 }
1911 if strncmp(&language[1..], "jy-", 3) && subtag_matches(language, "-hk") {
1912 // Jinyu Chinese; Hong Kong
1913 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1914 return true;
1915 }
1916 if strncmp(&language[1..], "jy-", 3) && subtag_matches(language, "-mo") {
1917 // Jinyu Chinese; Macao
1918 let possible_tags = &[
1919 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1920 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1921 ];
1922 tags.extend_from_slice(possible_tags);
1923 return true;
1924 }
1925 if strncmp(&language[1..], "jy-", 3) && subtag_matches(language, "-tw") {
1926 // Jinyu Chinese; Taiwan, Province of China
1927 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1928 return true;
1929 }
1930 if strncmp(&language[1..], "mn-", 3) && subtag_matches(language, "-hk") {
1931 // Mandarin Chinese; Hong Kong
1932 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1933 return true;
1934 }
1935 if strncmp(&language[1..], "mn-", 3) && subtag_matches(language, "-mo") {
1936 // Mandarin Chinese; Macao
1937 let possible_tags = &[
1938 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1939 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1940 ];
1941 tags.extend_from_slice(possible_tags);
1942 return true;
1943 }
1944 if strncmp(&language[1..], "mn-", 3) && subtag_matches(language, "-tw") {
1945 // Mandarin Chinese; Taiwan, Province of China
1946 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1947 return true;
1948 }
1949 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-hk") {
1950 // Northern Ping Chinese; Hong Kong
1951 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1952 return true;
1953 }
1954 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-mo") {
1955 // Northern Ping Chinese; Macao
1956 let possible_tags = &[
1957 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1958 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1959 ];
1960 tags.extend_from_slice(possible_tags);
1961 return true;
1962 }
1963 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-tw") {
1964 // Northern Ping Chinese; Taiwan, Province of China
1965 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1966 return true;
1967 }
1968 if strncmp(&language[1..], "px-", 3) && subtag_matches(language, "-hk") {
1969 // Pu-Xian Chinese; Hong Kong
1970 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1971 return true;
1972 }
1973 if strncmp(&language[1..], "px-", 3) && subtag_matches(language, "-mo") {
1974 // Pu-Xian Chinese; Macao
1975 let possible_tags = &[
1976 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1977 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1978 ];
1979 tags.extend_from_slice(possible_tags);
1980 return true;
1981 }
1982 if strncmp(&language[1..], "px-", 3) && subtag_matches(language, "-tw") {
1983 // Pu-Xian Chinese; Taiwan, Province of China
1984 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
1985 return true;
1986 }
1987 if strncmp(&language[1..], "sp-", 3) && subtag_matches(language, "-hk") {
1988 // Southern Ping Chinese; Hong Kong
1989 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
1990 return true;
1991 }
1992 if strncmp(&language[1..], "sp-", 3) && subtag_matches(language, "-mo") {
1993 // Southern Ping Chinese; Macao
1994 let possible_tags = &[
1995 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
1996 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
1997 ];
1998 tags.extend_from_slice(possible_tags);
1999 return true;
2000 }
2001 if strncmp(&language[1..], "sp-", 3) && subtag_matches(language, "-tw") {
2002 // Southern Ping Chinese; Taiwan, Province of China
2003 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2004 return true;
2005 }
2006 if strncmp(&language[1..], "zh-", 3) && subtag_matches(language, "-hk") {
2007 // Huizhou Chinese; Hong Kong
2008 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2009 return true;
2010 }
2011 if strncmp(&language[1..], "zh-", 3) && subtag_matches(language, "-mo") {
2012 // Huizhou Chinese; Macao
2013 let possible_tags = &[
2014 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2015 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2016 ];
2017 tags.extend_from_slice(possible_tags);
2018 return true;
2019 }
2020 if strncmp(&language[1..], "zh-", 3) && subtag_matches(language, "-tw") {
2021 // Huizhou Chinese; Taiwan, Province of China
2022 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2023 return true;
2024 }
2025 if strncmp(&language[1..], "zo-", 3) && subtag_matches(language, "-hk") {
2026 // Min Zhong Chinese; Hong Kong
2027 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2028 return true;
2029 }
2030 if strncmp(&language[1..], "zo-", 3) && subtag_matches(language, "-mo") {
2031 // Min Zhong Chinese; Macao
2032 let possible_tags = &[
2033 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2034 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2035 ];
2036 tags.extend_from_slice(possible_tags);
2037 return true;
2038 }
2039 if strncmp(&language[1..], "zo-", 3) && subtag_matches(language, "-tw") {
2040 // Min Zhong Chinese; Taiwan, Province of China
2041 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2042 return true;
2043 }
2044 }
2045 b'g' => {
2046 if lang_matches(&language[1..], "an-hant-hk") {
2047 // Gan Chinese; Han (Traditional variant); Hong Kong
2048 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2049 return true;
2050 }
2051 if lang_matches(&language[1..], "an-hant-mo") {
2052 // Gan Chinese; Han (Traditional variant); Macao
2053 let possible_tags = &[
2054 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2055 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2056 ];
2057 tags.extend_from_slice(possible_tags);
2058 return true;
2059 }
2060 if lang_matches(&language[1..], "an-hans") {
2061 // Gan Chinese; Han (Simplified variant)
2062 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2063 return true;
2064 }
2065 if lang_matches(&language[1..], "an-hant") {
2066 // Gan Chinese; Han (Traditional variant)
2067 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2068 return true;
2069 }
2070 if lang_matches(&language[1..], "a-latg") {
2071 // Irish; Latin (Gaelic variant)
2072 tags.push(Tag::from_bytes(b"IRT ")); // Irish Traditional
2073 return true;
2074 }
2075 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-hk") {
2076 // Gan Chinese; Hong Kong
2077 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2078 return true;
2079 }
2080 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-mo") {
2081 // Gan Chinese; Macao
2082 let possible_tags = &[
2083 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2084 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2085 ];
2086 tags.extend_from_slice(possible_tags);
2087 return true;
2088 }
2089 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-tw") {
2090 // Gan Chinese; Taiwan, Province of China
2091 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2092 return true;
2093 }
2094 }
2095 b'h' => {
2096 if lang_matches(&language[1..], "ak-hant-hk") {
2097 // Hakka Chinese; Han (Traditional variant); Hong Kong
2098 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2099 return true;
2100 }
2101 if lang_matches(&language[1..], "ak-hant-mo") {
2102 // Hakka Chinese; Han (Traditional variant); Macao
2103 let possible_tags = &[
2104 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2105 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2106 ];
2107 tags.extend_from_slice(possible_tags);
2108 return true;
2109 }
2110 if lang_matches(&language[1..], "sn-hant-hk") {
2111 // Xiang Chinese; Han (Traditional variant); Hong Kong
2112 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2113 return true;
2114 }
2115 if lang_matches(&language[1..], "sn-hant-mo") {
2116 // Xiang Chinese; Han (Traditional variant); Macao
2117 let possible_tags = &[
2118 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2119 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2120 ];
2121 tags.extend_from_slice(possible_tags);
2122 return true;
2123 }
2124 if lang_matches(&language[1..], "ak-hans") {
2125 // Hakka Chinese; Han (Simplified variant)
2126 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2127 return true;
2128 }
2129 if lang_matches(&language[1..], "ak-hant") {
2130 // Hakka Chinese; Han (Traditional variant)
2131 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2132 return true;
2133 }
2134 if lang_matches(&language[1..], "sn-hans") {
2135 // Xiang Chinese; Han (Simplified variant)
2136 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2137 return true;
2138 }
2139 if lang_matches(&language[1..], "sn-hant") {
2140 // Xiang Chinese; Han (Traditional variant)
2141 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2142 return true;
2143 }
2144 if strncmp(&language[1..], "ak-", 3) && subtag_matches(language, "-hk") {
2145 // Hakka Chinese; Hong Kong
2146 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2147 return true;
2148 }
2149 if strncmp(&language[1..], "ak-", 3) && subtag_matches(language, "-mo") {
2150 // Hakka Chinese; Macao
2151 let possible_tags = &[
2152 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2153 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2154 ];
2155 tags.extend_from_slice(possible_tags);
2156 return true;
2157 }
2158 if strncmp(&language[1..], "ak-", 3) && subtag_matches(language, "-tw") {
2159 // Hakka Chinese; Taiwan, Province of China
2160 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2161 return true;
2162 }
2163 if strncmp(&language[1..], "sn-", 3) && subtag_matches(language, "-hk") {
2164 // Xiang Chinese; Hong Kong
2165 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2166 return true;
2167 }
2168 if strncmp(&language[1..], "sn-", 3) && subtag_matches(language, "-mo") {
2169 // Xiang Chinese; Macao
2170 let possible_tags = &[
2171 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2172 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2173 ];
2174 tags.extend_from_slice(possible_tags);
2175 return true;
2176 }
2177 if strncmp(&language[1..], "sn-", 3) && subtag_matches(language, "-tw") {
2178 // Xiang Chinese; Taiwan, Province of China
2179 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2180 return true;
2181 }
2182 }
2183 b'i' => {
2184 if &language[1..] == "-navajo" {
2185 // Navajo(retired code)
2186 let possible_tags = &[
2187 Tag::from_bytes(b"NAV "), // Navajo
2188 Tag::from_bytes(b"ATH "), // Athapaskan
2189 ];
2190 tags.extend_from_slice(possible_tags);
2191 return true;
2192 }
2193 if &language[1..] == "-hak" {
2194 // Hakka(retired code)
2195 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2196 return true;
2197 }
2198 if &language[1..] == "-lux" {
2199 // Luxembourgish(retired code)
2200 tags.push(Tag::from_bytes(b"LTZ ")); // Luxembourgish
2201 return true;
2202 }
2203 }
2204 b'l' => {
2205 if lang_matches(&language[1..], "zh-hans") {
2206 // Literary Chinese; Han (Simplified variant)
2207 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2208 return true;
2209 }
2210 }
2211 b'm' => {
2212 if lang_matches(&language[1..], "np-hant-hk") {
2213 // Min Bei Chinese; Han (Traditional variant); Hong Kong
2214 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2215 return true;
2216 }
2217 if lang_matches(&language[1..], "np-hant-mo") {
2218 // Min Bei Chinese; Han (Traditional variant); Macao
2219 let possible_tags = &[
2220 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2221 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2222 ];
2223 tags.extend_from_slice(possible_tags);
2224 return true;
2225 }
2226 if lang_matches(&language[1..], "np-hans") {
2227 // Min Bei Chinese; Han (Simplified variant)
2228 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2229 return true;
2230 }
2231 if lang_matches(&language[1..], "np-hant") {
2232 // Min Bei Chinese; Han (Traditional variant)
2233 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2234 return true;
2235 }
2236 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-hk") {
2237 // Min Bei Chinese; Hong Kong
2238 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2239 return true;
2240 }
2241 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-mo") {
2242 // Min Bei Chinese; Macao
2243 let possible_tags = &[
2244 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2245 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2246 ];
2247 tags.extend_from_slice(possible_tags);
2248 return true;
2249 }
2250 if strncmp(&language[1..], "np-", 3) && subtag_matches(language, "-tw") {
2251 // Min Bei Chinese; Taiwan, Province of China
2252 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2253 return true;
2254 }
2255 }
2256 b'n' => {
2257 if lang_matches(&language[1..], "an-hant-hk") {
2258 // Min Nan Chinese; Han (Traditional variant); Hong Kong
2259 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2260 return true;
2261 }
2262 if lang_matches(&language[1..], "an-hant-mo") {
2263 // Min Nan Chinese; Han (Traditional variant); Macao
2264 let possible_tags = &[
2265 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2266 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2267 ];
2268 tags.extend_from_slice(possible_tags);
2269 return true;
2270 }
2271 if lang_matches(&language[1..], "an-hans") {
2272 // Min Nan Chinese; Han (Simplified variant)
2273 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2274 return true;
2275 }
2276 if lang_matches(&language[1..], "an-hant") {
2277 // Min Nan Chinese; Han (Traditional variant)
2278 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2279 return true;
2280 }
2281 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-hk") {
2282 // Min Nan Chinese; Hong Kong
2283 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2284 return true;
2285 }
2286 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-mo") {
2287 // Min Nan Chinese; Macao
2288 let possible_tags = &[
2289 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2290 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2291 ];
2292 tags.extend_from_slice(possible_tags);
2293 return true;
2294 }
2295 if strncmp(&language[1..], "an-", 3) && subtag_matches(language, "-tw") {
2296 // Min Nan Chinese; Taiwan, Province of China
2297 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2298 return true;
2299 }
2300 if &language[1..] == "o-bok" {
2301 // Norwegian Bokmal(retired code)
2302 tags.push(Tag::from_bytes(b"NOR ")); // Norwegian
2303 return true;
2304 }
2305 if &language[1..] == "o-nyn" {
2306 // Norwegian Nynorsk(retired code)
2307 let possible_tags = &[
2308 Tag::from_bytes(b"NYN "), // Norwegian Nynorsk (Nynorsk, Norwegian)
2309 Tag::from_bytes(b"NOR "), // Norwegian
2310 ];
2311 tags.extend_from_slice(possible_tags);
2312 return true;
2313 }
2314 }
2315 b'r' => {
2316 if strncmp(&language[1..], "o-", 2) && subtag_matches(language, "-md") {
2317 // Romanian; Moldova
2318 tags.push(Tag::from_bytes(b"MOL ")); // Moldavian
2319 return true;
2320 }
2321 }
2322 b'w' => {
2323 if lang_matches(&language[1..], "uu-hant-hk") {
2324 // Wu Chinese; Han (Traditional variant); Hong Kong
2325 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2326 return true;
2327 }
2328 if lang_matches(&language[1..], "uu-hant-mo") {
2329 // Wu Chinese; Han (Traditional variant); Macao
2330 let possible_tags = &[
2331 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2332 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2333 ];
2334 tags.extend_from_slice(possible_tags);
2335 return true;
2336 }
2337 if lang_matches(&language[1..], "uu-hans") {
2338 // Wu Chinese; Han (Simplified variant)
2339 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2340 return true;
2341 }
2342 if lang_matches(&language[1..], "uu-hant") {
2343 // Wu Chinese; Han (Traditional variant)
2344 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2345 return true;
2346 }
2347 if strncmp(&language[1..], "uu-", 3) && subtag_matches(language, "-hk") {
2348 // Wu Chinese; Hong Kong
2349 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2350 return true;
2351 }
2352 if strncmp(&language[1..], "uu-", 3) && subtag_matches(language, "-mo") {
2353 // Wu Chinese; Macao
2354 let possible_tags = &[
2355 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2356 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2357 ];
2358 tags.extend_from_slice(possible_tags);
2359 return true;
2360 }
2361 if strncmp(&language[1..], "uu-", 3) && subtag_matches(language, "-tw") {
2362 // Wu Chinese; Taiwan, Province of China
2363 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2364 return true;
2365 }
2366 }
2367 b'y' => {
2368 if lang_matches(&language[1..], "ue-hans") {
2369 // Yue Chinese; Han (Simplified variant)
2370 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2371 return true;
2372 }
2373 }
2374 b'z' => {
2375 if lang_matches(&language[1..], "h-hant-hk") {
2376 // Chinese [macrolanguage]; Han (Traditional variant); Hong Kong
2377 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2378 return true;
2379 }
2380 if lang_matches(&language[1..], "h-hant-mo") {
2381 // Chinese [macrolanguage]; Han (Traditional variant); Macao
2382 let possible_tags = &[
2383 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2384 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2385 ];
2386 tags.extend_from_slice(possible_tags);
2387 return true;
2388 }
2389 if &language[1..] == "h-min-nan" {
2390 // Minnan, Hokkien, Amoy, Taiwanese, Southern Min, Southern Fujian, Hoklo, Southern Fukien, Ho-lo(retired code)
2391 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2392 return true;
2393 }
2394 if lang_matches(&language[1..], "h-hans") {
2395 // Chinese [macrolanguage]; Han (Simplified variant)
2396 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2397 return true;
2398 }
2399 if lang_matches(&language[1..], "h-hant") {
2400 // Chinese [macrolanguage]; Han (Traditional variant)
2401 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2402 return true;
2403 }
2404 if &language[1..] == "h-min" {
2405 // Min, Fuzhou, Hokkien, Amoy, or Taiwanese(retired code)
2406 tags.push(Tag::from_bytes(b"ZHS ")); // Chinese, Simplified
2407 return true;
2408 }
2409 if strncmp(&language[1..], "h-", 2) && subtag_matches(language, "-hk") {
2410 // Chinese [macrolanguage]; Hong Kong
2411 tags.push(Tag::from_bytes(b"ZHH ")); // Chinese, Traditional, Hong Kong SAR
2412 return true;
2413 }
2414 if strncmp(&language[1..], "h-", 2) && subtag_matches(language, "-mo") {
2415 // Chinese [macrolanguage]; Macao
2416 let possible_tags = &[
2417 Tag::from_bytes(b"ZHTM"), // Chinese, Traditional, Macao SAR
2418 Tag::from_bytes(b"ZHH "), // Chinese, Traditional, Hong Kong SAR
2419 ];
2420 tags.extend_from_slice(possible_tags);
2421 return true;
2422 }
2423 if strncmp(&language[1..], "h-", 2) && subtag_matches(language, "-tw") {
2424 // Chinese [macrolanguage]; Taiwan, Province of China
2425 tags.push(Tag::from_bytes(b"ZHT ")); // Chinese, Traditional
2426 return true;
2427 }
2428 }
2429 _ => {}
2430 }
2431 false
2432}
2433