Debian Codegraph @

src/langRegionMap.js

raw symbols SCIP
1 /**
2 * Contains base mapping of language code to country code.
3 * Contains data only for countries which first day of week is not monday,
4 * and mainly for languages approximately having more than 10 mln speakers.
5 *
6 * Based on data from `fullLangRegionMap.js`.
7 *
8 * @module langRegionMap
9 */
10
11
12 /* eslint-disable camelcase */
13 /**
14 * Base mapping of language code to country code.
15 * Contains data only for countries which first day of week is not monday,
16 * and mainly for languages approximately having more than 10 mln speakers.
17 *
18 * Based on data from `fullLangRegionMap.js`.
19 */
20 const langRegionMap = {
21 en: 'US',
22
23 hi: 'IN',
24 deva: 'IN', // script
25 te: 'IN',
26 mr: 'IN',
27 ta: 'IN',
28 gu: 'IN',
29 kn: 'IN',
30 or: 'IN',
31 ml: 'IN',
32 pa: 'IN',
33 bho: 'IN',
34 awa: 'IN',
35 as: 'IN',
36 mwr: 'IN',
37 mai: 'IN',
38 mag: 'IN',
39 bgc: 'IN',
40 hne: 'IN',
41 dcc: 'IN',
42
43 bn: 'BD',
44 beng: 'BD', // script
45 rkt: 'BD',
46
47 dz: 'BT',
48 tibt: 'BT', // script
49
50 tn: 'BW',
51
52 am: 'ET',
53 ethi: 'ET', // script
54 om: 'ET',
55
56 quc: 'GT',
57
58 id: 'ID',
59 jv: 'ID',
60 su: 'ID',
61 mad: 'ID',
62 ms_arab: 'ID',
63
64 he: 'IL',
65 hebr: 'IL', // script
66
67 jam: 'JM',
68
69 ja: 'JP',
70 jpan: 'JP', // script
71
72 km: 'KH',
73 khmr: 'KH', // script
74
75 ko: 'KR',
76 kore: 'KR', // script
77
78 lo: 'LA',
79 laoo: 'LA', // script
80
81 mh: 'MH',
82
83 my: 'MM',
84 mymr: 'MM', // script
85
86 mt: 'MT',
87
88 ne: 'NP',
89
90 fil: 'PH',
91 ceb: 'PH',
92 ilo: 'PH',
93
94 ur: 'PK',
95 pa_arab: 'PK',
96 lah: 'PK',
97 ps: 'PK',
98 sd: 'PK',
99 skr: 'PK',
100
101 gn: 'PY',
102
103 th: 'TH',
104 thai: 'TH', // script
105 tts: 'TH',
106
107 zh_hant: 'TW',
108 hant: 'TW', // script
109
110 sm: 'WS',
111
112 zu: 'ZA',
113
114 sn: 'ZW',
115
116
117 arq: 'DZ',
118
119 ar: 'EG',
120 arab: 'EG', // script
121 arz: 'EG',
122
123 fa: 'IR',
124 az_arab: 'IR',
125
126
127 dv: 'MV',
128 thaa: 'MV' // script
129 };
130 /* eslint-enable camelcase */
131
132 export default langRegionMap;