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