Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
seleniumhq
GitHub Repository: seleniumhq/selenium
Path: blob/trunk/third_party/closure/goog/locale/scriptToLanguages.js
2868 views
1
// Copyright 2008 The Closure Library Authors. All Rights Reserved.
2
//
3
// Licensed under the Apache License, Version 2.0 (the "License");
4
// you may not use this file except in compliance with the License.
5
// You may obtain a copy of the License at
6
//
7
// http://www.apache.org/licenses/LICENSE-2.0
8
//
9
// Unless required by applicable law or agreed to in writing, software
10
// distributed under the License is distributed on an "AS-IS" BASIS,
11
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
// See the License for the specific language governing permissions and
13
// limitations under the License.
14
15
/**
16
* @fileoverview Script to Languages mapping. Typically, one script is used by
17
* many languages of the world. This map captures that information as a mapping
18
* from script to array of two letter or three letter language codes.
19
*
20
* This map is used by goog.locale.genericFontNames for listing
21
* font fallbacks for a font family for a locale. That file
22
* uses this map in conjunction with goog.locale.genericFontNamesData.
23
*
24
* Warning: this file is automatically generated from CLDR.
25
* Please contact i18n team or change the script and regenerate data.
26
* Code location: http://go/generate_genericfontnames.py
27
*
28
*/
29
30
// clang-format off
31
32
/**
33
* Namespace for Script to Languages mapping
34
*/
35
goog.provide('goog.locale.scriptToLanguages');
36
37
goog.require('goog.locale');
38
39
/**
40
* The script code to list of language codes map.
41
* @type {!Object<string, !Array<string>>}
42
*/
43
44
/* ~!@# genmethods.scriptToLanguages() #@!~ */
45
goog.locale.scriptToLanguages = {
46
'Arab': [
47
'prd',
48
'doi',
49
'lah',
50
'uz',
51
'cjm',
52
'swb',
53
'az',
54
'ps',
55
'ur',
56
'ks',
57
'fa',
58
'ar',
59
'tk',
60
'ku',
61
'tg',
62
'bal',
63
'ha',
64
'ky',
65
'ug',
66
'sd'
67
],
68
'Armn': ['hy'],
69
'Beng': [
70
'mni',
71
'grt',
72
'bn',
73
'syl',
74
'as',
75
'ril',
76
'ccp'
77
],
78
'Blis': ['zbl'],
79
'Cans': [
80
'cr',
81
'iu',
82
'cwd',
83
'crk'
84
],
85
'Cham': ['cja'],
86
'Cher': ['chr'],
87
'Cyrl': [
88
'ab',
89
'rom',
90
'mns',
91
'mdf',
92
'ce',
93
'myv',
94
'ude',
95
'sah',
96
'inh',
97
'uk',
98
'tab',
99
'av',
100
'yrk',
101
'az',
102
'cv',
103
'koi',
104
'ru',
105
'dng',
106
'sel',
107
'tt',
108
'chm',
109
'ady',
110
'tyv',
111
'abq',
112
'kum',
113
'xal',
114
'tg',
115
'cjs',
116
'tk',
117
'be',
118
'kaa',
119
'bg',
120
'kca',
121
'ba',
122
'nog',
123
'krl',
124
'bxr',
125
'kbd',
126
'dar',
127
'krc',
128
'lez',
129
'ttt',
130
'udm',
131
'evn',
132
'kpv',
133
'uz',
134
'kk',
135
'kpy',
136
'kjh',
137
'mn',
138
'gld',
139
'mk',
140
'ckt',
141
'aii',
142
'kv',
143
'ku',
144
'sr',
145
'lbe',
146
'ky',
147
'os'
148
],
149
'Deva': [
150
'btv',
151
'kfr',
152
'bho',
153
'mr',
154
'bhb',
155
'bjj',
156
'hi',
157
'mag',
158
'mai',
159
'awa',
160
'lif',
161
'xsr',
162
'mwr',
163
'kok',
164
'gon',
165
'hne',
166
'hoc',
167
'gbm',
168
'hoj',
169
'ne',
170
'kru',
171
'ks',
172
'bra',
173
'bft',
174
'new',
175
'bfy',
176
'sd'
177
],
178
'Ethi': [
179
'byn',
180
'wal',
181
'ti',
182
'tig',
183
'am'
184
],
185
'Geor': ['ka'],
186
'Grek': ['el'],
187
'Gujr': ['gu'],
188
'Guru': ['pa'],
189
'Hans': [
190
'zh',
191
'za'
192
],
193
'Hant': ['zh'],
194
'Hebr': [
195
'lad',
196
'yi',
197
'he'
198
],
199
'Jpan': ['ja'],
200
'Khmr': ['km'],
201
'Knda': [
202
'kn',
203
'tcy'
204
],
205
'Kore': ['ko'],
206
'Laoo': ['lo'],
207
'Latn': [
208
'gv',
209
'sco',
210
'scn',
211
'mfe',
212
'hnn',
213
'suk',
214
'tkl',
215
'gd',
216
'ga',
217
'gn',
218
'gl',
219
'rom',
220
'hai',
221
'lb',
222
'la',
223
'ln',
224
'tsg',
225
'tr',
226
'ts',
227
'li',
228
'lv',
229
'to',
230
'lt',
231
'lu',
232
'tk',
233
'tg',
234
'fo',
235
'fil',
236
'bya',
237
'bin',
238
'kcg',
239
'ceb',
240
'amo',
241
'yao',
242
'mos',
243
'dyu',
244
'de',
245
'tbw',
246
'da',
247
'fan',
248
'st',
249
'hil',
250
'fon',
251
'efi',
252
'tl',
253
'qu',
254
'uz',
255
'kpe',
256
'ban',
257
'bal',
258
'gor',
259
'tru',
260
'mo',
261
'mdh',
262
'en',
263
'tem',
264
'ee',
265
'tvl',
266
'cr',
267
'eu',
268
'et',
269
'tet',
270
'nbf',
271
'es',
272
'rw',
273
'lut',
274
'kmb',
275
'ast',
276
'sms',
277
'lua',
278
'sus',
279
'smj',
280
'fy',
281
'tmh',
282
'rm',
283
'rn',
284
'ro',
285
'dsb',
286
'sma',
287
'luo',
288
'hsb',
289
'wa',
290
'lg',
291
'wo',
292
'bm',
293
'jv',
294
'men',
295
'bi',
296
'tum',
297
'br',
298
'bs',
299
'smn',
300
'om',
301
'ace',
302
'ilo',
303
'ty',
304
'oc',
305
'srr',
306
'krl',
307
'tw',
308
'nds',
309
'os',
310
'xh',
311
'ch',
312
'co',
313
'nso',
314
'ca',
315
'sn',
316
'eo',
317
'son',
318
'pon',
319
'cy',
320
'cs',
321
'kfo',
322
'fj',
323
'tn',
324
'srn',
325
'pt',
326
'sm',
327
'chk',
328
'bbc',
329
'chm',
330
'lol',
331
'frs',
332
'frr',
333
'chr',
334
'yap',
335
'vi',
336
'kos',
337
'gil',
338
'ak',
339
'pl',
340
'sid',
341
'hr',
342
'ht',
343
'hu',
344
'hmn',
345
'ho',
346
'gag',
347
'buc',
348
'ha',
349
'bug',
350
'gaa',
351
'mg',
352
'fur',
353
'bem',
354
'ibb',
355
'mi',
356
'mh',
357
'war',
358
'mt',
359
'uli',
360
'ms',
361
'sr',
362
'haw',
363
'sq',
364
'aa',
365
've',
366
'af',
367
'gwi',
368
'is',
369
'it',
370
'sv',
371
'ii',
372
'sas',
373
'ik',
374
'tpi',
375
'zu',
376
'ay',
377
'kha',
378
'az',
379
'tzm',
380
'id',
381
'ig',
382
'pap',
383
'nl',
384
'pau',
385
'nn',
386
'no',
387
'na',
388
'nb',
389
'nd',
390
'umb',
391
'ng',
392
'ny',
393
'nap',
394
'gcr',
395
'nyn',
396
'hop',
397
'lis',
398
'so',
399
'nr',
400
'pam',
401
'nv',
402
'kv',
403
'kab',
404
'fr',
405
'nym',
406
'kaj',
407
'rcf',
408
'yo',
409
'snk',
410
'kam',
411
'dgr',
412
'mad',
413
'fi',
414
'mak',
415
'niu',
416
'kg',
417
'pag',
418
'gsw',
419
'ss',
420
'kj',
421
'ki',
422
'min',
423
'sw',
424
'cpe',
425
'su',
426
'kl',
427
'sk',
428
'kr',
429
'kw',
430
'cch',
431
'ku',
432
'sl',
433
'sg',
434
'tiv',
435
'se'
436
],
437
'Lepc': ['lep'],
438
'Limb': ['lif'],
439
'Mlym': ['ml'],
440
'Mong': [
441
'mnc',
442
'mn'
443
],
444
'Mymr': [
445
'my',
446
'kht',
447
'shn',
448
'mnw'
449
],
450
'Nkoo': [
451
'nqo',
452
'emk'
453
],
454
'Orya': ['or'],
455
'Sinh': ['si'],
456
'Tale': ['tdd'],
457
'Talu': ['khb'],
458
'Taml': [
459
'bfq',
460
'ta'
461
],
462
'Telu': [
463
'te',
464
'gon',
465
'lmn'
466
],
467
'Tfng': ['tzm'],
468
'Thaa': ['dv'],
469
'Thai': [
470
'tts',
471
'lwl',
472
'th',
473
'kdt',
474
'lcp'
475
],
476
'Tibt': [
477
'bo',
478
'dz'
479
],
480
'Yiii': ['ii'],
481
'und': ['sat']
482
};
483
/* ~!@# END #@!~ */
484
485