Debian Codegraph @

src/fullLangRegionMap.js

raw symbols SCIP
1 /**
2 * Contains full mapping of language code to country code.
3 * Data only for countries which first day of week is not monday.
4 *
5 * @module fullLangRegionMap
6 */
7
8
9 /* eslint-disable camelcase */
10 /**
11 * Full mapping of language code to country code.
12 * Contains data only for countries which first day of week is not monday.
13 *
14 * Based on:
15 * - [https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_language_information.html](https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/territory_language_information.html)
16 * - [https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_territory_information.html](https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/language_territory_information.html)
17 * - [https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/scripts_languages_and_territories.html](https://unicode-org.github.io/cldr-staging/charts/latest/supplemental/scripts_languages_and_territories.html)
18 */
19 const langRegionMap = {
20 en: 'US',
21
22 hi: 'IN',
23 deva: 'IN', // script
24 te: 'IN',
25 mr: 'IN',
26 ta: 'IN',
27 gu: 'IN',
28 kn: 'IN',
29 or: 'IN',
30 ml: 'IN',
31 pa: 'IN',
32 bho: 'IN',
33 awa: 'IN',
34 as: 'IN',
35 mwr: 'IN',
36 mai: 'IN',
37 mag: 'IN',
38 bgc: 'IN',
39 hne: 'IN',
40 dcc: 'IN',
41 bjj: 'IN',
42 sat: 'IN',
43 wtm: 'IN',
44 ks: 'IN',
45 kok: 'IN',
46 gom: 'IN',
47 swv: 'IN',
48 lmn: 'IN',
49 gbm: 'IN',
50 gon: 'IN',
51 kfy: 'IN',
52 kru: 'IN',
53 doi: 'IN',
54 wbq: 'IN',
55 sck: 'IN',
56 xnr: 'IN',
57 wbr: 'IN',
58 tcy: 'IN',
59 khn: 'IN',
60 brx: 'IN',
61 noe: 'IN',
62 bhb: 'IN',
63 mni: 'IN',
64 raj: 'IN',
65 hoc: 'IN',
66 mtr: 'IN',
67 unr: 'IN',
68 bhi: 'IN',
69 hoj: 'IN',
70 kha: 'IN',
71 kfr: 'IN',
72 grt: 'IN',
73 unx: 'IN',
74 bfy: 'IN',
75 srx: 'IN',
76 saz: 'IN',
77 sd_deva: 'IN',
78 ccp: 'IN',
79 njo: 'IN',
80 bfq: 'IN',
81 ria: 'IN',
82 bpy: 'IN',
83 bra: 'IN',
84 lep: 'IN',
85 sa: 'IN',
86 kht: 'IN',
87
88 bn: 'BD',
89 beng: 'BD', // script
90 rkt: 'BD',
91 syl: 'BD',
92 mro: 'BD',
93
94 kgp: 'BR',
95 gub: 'BR',
96 yrl: 'BR',
97 xav: 'BR',
98
99 dz: 'BT',
100 tibt: 'BT', // script
101 tsj: 'BT',
102
103 tn: 'BW',
104
105 pdt: 'CA',
106 crk: 'CA',
107 cr: 'CA',
108 iu: 'CA',
109 oj: 'CA',
110 ojs: 'CA',
111 moe: 'CA',
112 mic: 'CA',
113 bla: 'CA',
114 crj: 'CA',
115 atj: 'CA',
116 crl: 'CA',
117 csw: 'CA',
118 crm: 'CA',
119 ikt: 'CA',
120 moh: 'CA',
121 dgr: 'CA',
122 den: 'CA',
123 clc: 'CA',
124 hur: 'CA',
125 crg: 'CA',
126 lil: 'CA',
127 oka: 'CA',
128 pqm: 'CA',
129 kwk: 'CA',
130 nsk: 'CA',
131 chp: 'CA',
132 gwi: 'CA',
133
134 guc: 'CO',
135
136 am: 'ET',
137 ethi: 'ET', // script
138 om: 'ET',
139 ti: 'ET',
140 sid: 'ET',
141 wal: 'ET',
142 aa: 'ET',
143
144 quc: 'GT',
145
146 ch: 'GU',
147
148 id: 'ID',
149 jv: 'ID',
150 su: 'ID',
151 mad: 'ID',
152 ms_arab: 'ID',
153 min: 'ID',
154 bew: 'ID',
155 ban: 'ID',
156 bug: 'ID',
157 bjn: 'ID',
158 ace: 'ID',
159 sas: 'ID',
160 bbc: 'ID',
161 mak: 'ID',
162 ljp: 'ID',
163 rej: 'ID',
164 gor: 'ID',
165 nij: 'ID',
166 kge: 'ID',
167 aoz: 'ID',
168 kvr: 'ID',
169 lbw: 'ID',
170 gay: 'ID',
171 rob: 'ID',
172 sxn: 'ID',
173 mdr: 'ID',
174 sly: 'ID',
175 mwv: 'ID',
176
177 he: 'IL',
178 hebr: 'IL', // script
179 lad: 'IL',
180
181 jam: 'JM',
182
183 ja: 'JP',
184 jpan: 'JP', // script
185 ryu: 'JP',
186
187 ki: 'KE',
188 luy: 'KE',
189 luo: 'KE',
190 kln: 'KE',
191 kam: 'KE',
192 guz: 'KE',
193 mer: 'KE',
194 ebu: 'KE',
195 dav: 'KE',
196 pko: 'KE',
197 saq: 'KE',
198
199 km: 'KH',
200 khmr: 'KH', // script
201 cja: 'KH',
202
203 ko: 'KR',
204 kore: 'KR', // script
205
206 lo: 'LA',
207 laoo: 'LA', // script
208 kjg: 'LA',
209 hnj: 'LA',
210
211 mh: 'MH',
212
213 my: 'MM',
214 mymr: 'MM', // script
215 shn: 'MM',
216 kac: 'MM',
217 rhg: 'MM',
218 mnw: 'MM',
219
220 mt: 'MT',
221
222 yua: 'MX',
223 nhe: 'MX',
224 nhw: 'MX',
225 maz: 'MX',
226 nch: 'MX',
227 sei: 'MX',
228
229 vmw: 'MZ',
230 ndc: 'MZ',
231 ngl: 'MZ',
232 seh: 'MZ',
233 mgh: 'MZ',
234 rng: 'MZ',
235 yao: 'MZ',
236
237 ne: 'NP',
238 'new': 'NP',
239 jml: 'NP',
240 dty: 'NP',
241 taj: 'NP',
242 thl: 'NP',
243 bap: 'NP',
244 tdg: 'NP',
245 thr: 'NP',
246 mgp: 'NP',
247 lif: 'NP',
248 thq: 'NP',
249 mrd: 'NP',
250 xsr: 'NP',
251 rjs: 'NP',
252 tsf: 'NP',
253 ggn: 'NP',
254 gvr: 'NP',
255 tkt: 'NP',
256 tdh: 'NP',
257 unr_deva: 'NP',
258
259 qu: 'PE',
260
261 fil: 'PH',
262 ceb: 'PH',
263 ilo: 'PH',
264 hil: 'PH',
265 bik: 'PH',
266 war: 'PH',
267 fbl: 'PH',
268 pam: 'PH',
269 pag: 'PH',
270 mdh: 'PH',
271 tsg: 'PH',
272 cps: 'PH',
273 krj: 'PH',
274 bto: 'PH',
275 hnn: 'PH',
276 tbw: 'PH',
277 bku: 'PH',
278
279 ur: 'PK',
280 pa_arab: 'PK',
281 lah: 'PK',
282 ps: 'PK',
283 sd: 'PK',
284 skr: 'PK',
285 bal: 'PK',
286 brh: 'PK',
287 hno: 'PK',
288 bgn: 'PK',
289 hnd: 'PK',
290 tg_arab: 'PK',
291 gju: 'PK',
292 bft: 'PK',
293 kvx: 'PK',
294 khw: 'PK',
295 mvy: 'PK',
296 kxp: 'PK',
297 gjk: 'PK',
298 trw: 'PK',
299 btv: 'PK',
300
301 gn: 'PY',
302
303 th: 'TH',
304 thai: 'TH', // script
305 tts: 'TH',
306 nod: 'TH',
307 sou: 'TH',
308 mfa: 'TH',
309 kxm: 'TH',
310 kdt: 'TH',
311 lwl: 'TH',
312
313 zh_hant: 'TW',
314 hant: 'TW', // script
315 trv: 'TW',
316
317 nv: 'US',
318 pdc: 'US',
319 haw: 'US',
320 frc: 'US',
321 chr: 'US',
322 esu: 'US',
323 dak: 'US',
324 cho: 'US',
325 lkt: 'US',
326 ik: 'US',
327 mus: 'US',
328
329 sm: 'WS',
330
331 zu: 'ZA',
332 xh: 'ZA',
333 af: 'ZA',
334 nso: 'ZA',
335 ts: 'ZA',
336 ve: 'ZA',
337 nr: 'ZA',
338
339 sn: 'ZW',
340 nd: 'ZW',
341 mxc: 'ZW',
342 kck: 'ZW',
343
344
345 haz: 'AF',
346 uz_arab: 'AF',
347 prd: 'AF',
348
349 arq: 'DZ',
350 kab: 'DZ',
351
352 ar: 'EG',
353 arab: 'EG', // script
354 arz: 'EG',
355
356 ckb: 'IQ',
357 syr: 'IQ',
358
359 fa: 'IR',
360 az_arab: 'IR',
361 mzn: 'IR',
362 glk: 'IR',
363 sdh: 'IR',
364 lrc: 'IR',
365 rmt: 'IR',
366 bqi: 'IR',
367 luz: 'IR',
368 lki: 'IR',
369 gbz: 'IR',
370
371 bej: 'SD',
372 fvr: 'SD',
373 mls: 'SD',
374 fia: 'SD',
375 zag: 'SD',
376
377
378 dv: 'MV',
379 thaa: 'MV' // script
380 };
381 /* eslint-enable camelcase */
382
383 export default langRegionMap;