Debian Codegraph @

docs/fullLangRegionMap.js.html

raw symbols SCIP
1 <!DOCTYPE html>
2
3 <html lang="en">
4 <head>
5 <meta charset="utf-8">
6 <meta name="viewport" content="width=device-width">
7 <title>weekstart Source: fullLangRegionMap.js</title>
8
9 <!--[if lt IE 9]>
10 <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
11 <![endif]-->
12 <link type="text/css" rel="stylesheet" href="styles/sunlight.default.css">
13
14 <link type="text/css" rel="stylesheet" href="styles/site.spacelab.css">
15
16 </head>
17
18 <body>
19
20 <div class="navbar navbar-default navbar-fixed-top ">
21 <div class="container">
22 <div class="navbar-header">
23 <a class="navbar-brand" href="index.html">weekstart</a>
24 <button class="navbar-toggle" type="button" data-toggle="collapse" data-target="#topNavigation">
25 <span class="icon-bar"></span>
26 <span class="icon-bar"></span>
27 <span class="icon-bar"></span>
28 </button>
29 </div>
30 <div class="navbar-collapse collapse" id="topNavigation">
31 <ul class="nav navbar-nav">
32
33 <li class="dropdown">
34 <a href="modules.list.html" class="dropdown-toggle" data-toggle="dropdown">Modules<b class="caret"></b></a>
35 <ul class="dropdown-menu ">
36 <li><a href="module-api.html">api</a></li><li><a href="module-full.html">full</a></li><li><a href="module-fullLangRegionMap.html">fullLangRegionMap</a></li><li><a href="module-langRegionMap.html">langRegionMap</a></li><li><a href="module-main.html">main</a></li><li><a href="module-regionDayMap.html">regionDayMap</a></li>
37 </ul>
38 </li>
39
40 </ul>
41
42 <div class="col-sm-3 col-md-3">
43 <form class="navbar-form" role="search">
44 <div class="input-group">
45 <input type="text" class="form-control" placeholder="Search" name="q" id="search-input">
46 <div class="input-group-btn">
47 <button class="btn btn-default" id="search-submit"><i class="glyphicon glyphicon-search"></i></button>
48 </div>
49 </div>
50 </form>
51 </div>
52
53 </div>
54
55 </div>
56 </div>
57
58
59 <div class="container" id="toc-content">
60 <div class="row">
61
62
63 <div class="col-md-12">
64
65 <div id="main">
66
67
68 <h1 class="page-title">Source: fullLangRegionMap.js</h1>
69
70 <section>
71 <article>
72 <pre
73 class="sunlight-highlight-javascript linenums">/**
74 * Contains full mapping of language code to country code.
75 * Data only for countries which first day of week is not monday.
76 *
77 * @module fullLangRegionMap
78 */
79
80
81 /* eslint-disable camelcase */
82 /**
83 * Full mapping of language code to country code.
84 * Contains data only for countries which first day of week is not monday.
85 *
86 * Based on:
87 * - [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)
88 * - [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)
89 * - [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)
90 */
91 const langRegionMap = {
92 en: 'US',
93
94 hi: 'IN',
95 deva: 'IN', // script
96 te: 'IN',
97 mr: 'IN',
98 ta: 'IN',
99 gu: 'IN',
100 kn: 'IN',
101 or: 'IN',
102 ml: 'IN',
103 pa: 'IN',
104 bho: 'IN',
105 awa: 'IN',
106 as: 'IN',
107 mwr: 'IN',
108 mai: 'IN',
109 mag: 'IN',
110 bgc: 'IN',
111 hne: 'IN',
112 dcc: 'IN',
113 bjj: 'IN',
114 sat: 'IN',
115 wtm: 'IN',
116 ks: 'IN',
117 kok: 'IN',
118 gom: 'IN',
119 swv: 'IN',
120 lmn: 'IN',
121 gbm: 'IN',
122 gon: 'IN',
123 kfy: 'IN',
124 kru: 'IN',
125 doi: 'IN',
126 wbq: 'IN',
127 sck: 'IN',
128 xnr: 'IN',
129 wbr: 'IN',
130 tcy: 'IN',
131 khn: 'IN',
132 brx: 'IN',
133 noe: 'IN',
134 bhb: 'IN',
135 mni: 'IN',
136 raj: 'IN',
137 hoc: 'IN',
138 mtr: 'IN',
139 unr: 'IN',
140 bhi: 'IN',
141 hoj: 'IN',
142 kha: 'IN',
143 kfr: 'IN',
144 grt: 'IN',
145 unx: 'IN',
146 bfy: 'IN',
147 srx: 'IN',
148 saz: 'IN',
149 sd_deva: 'IN',
150 ccp: 'IN',
151 njo: 'IN',
152 bfq: 'IN',
153 ria: 'IN',
154 bpy: 'IN',
155 bra: 'IN',
156 lep: 'IN',
157 sa: 'IN',
158 kht: 'IN',
159
160 bn: 'BD',
161 beng: 'BD', // script
162 rkt: 'BD',
163 syl: 'BD',
164 mro: 'BD',
165
166 kgp: 'BR',
167 gub: 'BR',
168 yrl: 'BR',
169 xav: 'BR',
170
171 dz: 'BT',
172 tibt: 'BT', // script
173 tsj: 'BT',
174
175 tn: 'BW',
176
177 pdt: 'CA',
178 crk: 'CA',
179 cr: 'CA',
180 iu: 'CA',
181 oj: 'CA',
182 ojs: 'CA',
183 moe: 'CA',
184 mic: 'CA',
185 bla: 'CA',
186 crj: 'CA',
187 atj: 'CA',
188 crl: 'CA',
189 csw: 'CA',
190 crm: 'CA',
191 ikt: 'CA',
192 moh: 'CA',
193 dgr: 'CA',
194 den: 'CA',
195 clc: 'CA',
196 hur: 'CA',
197 crg: 'CA',
198 lil: 'CA',
199 oka: 'CA',
200 pqm: 'CA',
201 kwk: 'CA',
202 nsk: 'CA',
203 chp: 'CA',
204 gwi: 'CA',
205
206 guc: 'CO',
207
208 am: 'ET',
209 ethi: 'ET', // script
210 om: 'ET',
211 ti: 'ET',
212 sid: 'ET',
213 wal: 'ET',
214 aa: 'ET',
215
216 quc: 'GT',
217
218 ch: 'GU',
219
220 id: 'ID',
221 jv: 'ID',
222 su: 'ID',
223 mad: 'ID',
224 ms_arab: 'ID',
225 min: 'ID',
226 bew: 'ID',
227 ban: 'ID',
228 bug: 'ID',
229 bjn: 'ID',
230 ace: 'ID',
231 sas: 'ID',
232 bbc: 'ID',
233 mak: 'ID',
234 ljp: 'ID',
235 rej: 'ID',
236 gor: 'ID',
237 nij: 'ID',
238 kge: 'ID',
239 aoz: 'ID',
240 kvr: 'ID',
241 lbw: 'ID',
242 gay: 'ID',
243 rob: 'ID',
244 sxn: 'ID',
245 mdr: 'ID',
246 sly: 'ID',
247 mwv: 'ID',
248
249 he: 'IL',
250 hebr: 'IL', // script
251 lad: 'IL',
252
253 jam: 'JM',
254
255 ja: 'JP',
256 jpan: 'JP', // script
257 ryu: 'JP',
258
259 ki: 'KE',
260 luy: 'KE',
261 luo: 'KE',
262 kln: 'KE',
263 kam: 'KE',
264 guz: 'KE',
265 mer: 'KE',
266 ebu: 'KE',
267 dav: 'KE',
268 pko: 'KE',
269 saq: 'KE',
270
271 km: 'KH',
272 khmr: 'KH', // script
273 cja: 'KH',
274
275 ko: 'KR',
276 kore: 'KR', // script
277
278 lo: 'LA',
279 laoo: 'LA', // script
280 kjg: 'LA',
281 hnj: 'LA',
282
283 mh: 'MH',
284
285 my: 'MM',
286 mymr: 'MM', // script
287 shn: 'MM',
288 kac: 'MM',
289 rhg: 'MM',
290 mnw: 'MM',
291
292 mt: 'MT',
293
294 yua: 'MX',
295 nhe: 'MX',
296 nhw: 'MX',
297 maz: 'MX',
298 nch: 'MX',
299 sei: 'MX',
300
301 vmw: 'MZ',
302 ndc: 'MZ',
303 ngl: 'MZ',
304 seh: 'MZ',
305 mgh: 'MZ',
306 rng: 'MZ',
307 yao: 'MZ',
308
309 ne: 'NP',
310 'new': 'NP',
311 jml: 'NP',
312 dty: 'NP',
313 taj: 'NP',
314 thl: 'NP',
315 bap: 'NP',
316 tdg: 'NP',
317 thr: 'NP',
318 mgp: 'NP',
319 lif: 'NP',
320 thq: 'NP',
321 mrd: 'NP',
322 xsr: 'NP',
323 rjs: 'NP',
324 tsf: 'NP',
325 ggn: 'NP',
326 gvr: 'NP',
327 tkt: 'NP',
328 tdh: 'NP',
329 unr_deva: 'NP',
330
331 qu: 'PE',
332
333 fil: 'PH',
334 ceb: 'PH',
335 ilo: 'PH',
336 hil: 'PH',
337 bik: 'PH',
338 war: 'PH',
339 fbl: 'PH',
340 pam: 'PH',
341 pag: 'PH',
342 mdh: 'PH',
343 tsg: 'PH',
344 cps: 'PH',
345 krj: 'PH',
346 bto: 'PH',
347 hnn: 'PH',
348 tbw: 'PH',
349 bku: 'PH',
350
351 ur: 'PK',
352 pa_arab: 'PK',
353 lah: 'PK',
354 ps: 'PK',
355 sd: 'PK',
356 skr: 'PK',
357 bal: 'PK',
358 brh: 'PK',
359 hno: 'PK',
360 bgn: 'PK',
361 hnd: 'PK',
362 tg_arab: 'PK',
363 gju: 'PK',
364 bft: 'PK',
365 kvx: 'PK',
366 khw: 'PK',
367 mvy: 'PK',
368 kxp: 'PK',
369 gjk: 'PK',
370 trw: 'PK',
371 btv: 'PK',
372
373 gn: 'PY',
374
375 th: 'TH',
376 thai: 'TH', // script
377 tts: 'TH',
378 nod: 'TH',
379 sou: 'TH',
380 mfa: 'TH',
381 kxm: 'TH',
382 kdt: 'TH',
383 lwl: 'TH',
384
385 zh_hant: 'TW',
386 hant: 'TW', // script
387 trv: 'TW',
388
389 nv: 'US',
390 pdc: 'US',
391 haw: 'US',
392 frc: 'US',
393 chr: 'US',
394 esu: 'US',
395 dak: 'US',
396 cho: 'US',
397 lkt: 'US',
398 ik: 'US',
399 mus: 'US',
400
401 sm: 'WS',
402
403 zu: 'ZA',
404 xh: 'ZA',
405 af: 'ZA',
406 nso: 'ZA',
407 ts: 'ZA',
408 ve: 'ZA',
409 nr: 'ZA',
410
411 sn: 'ZW',
412 nd: 'ZW',
413 mxc: 'ZW',
414 kck: 'ZW',
415
416
417 haz: 'AF',
418 uz_arab: 'AF',
419 prd: 'AF',
420
421 arq: 'DZ',
422 kab: 'DZ',
423
424 ar: 'EG',
425 arab: 'EG', // script
426 arz: 'EG',
427
428 ckb: 'IQ',
429 syr: 'IQ',
430
431 fa: 'IR',
432 az_arab: 'IR',
433 mzn: 'IR',
434 glk: 'IR',
435 sdh: 'IR',
436 lrc: 'IR',
437 rmt: 'IR',
438 bqi: 'IR',
439 luz: 'IR',
440 lki: 'IR',
441 gbz: 'IR',
442
443 bej: 'SD',
444 fvr: 'SD',
445 mls: 'SD',
446 fia: 'SD',
447 zag: 'SD',
448
449
450 dv: 'MV',
451 thaa: 'MV' // script
452 };
453 /* eslint-enable camelcase */
454
455 export default langRegionMap;
456 </pre>
457 </article>
458 </section>
459
460
461
462
463
464 </div>
465 </div>
466
467 <div class="clearfix"></div>
468
469
470
471 </div>
472 </div>
473
474
475 <div class="modal fade" id="searchResults">
476 <div class="modal-dialog">
477 <div class="modal-content">
478 <div class="modal-header">
479 <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
480 <h4 class="modal-title">Search results</h4>
481 </div>
482 <div class="modal-body"></div>
483 <div class="modal-footer">
484 <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
485 </div>
486 </div><!-- /.modal-content -->
487 </div><!-- /.modal-dialog -->
488 </div>
489
490
491 <footer>
492
493
494 <span class="copyright">
495 Copyright (c) 2017-present Denis Sikuler
496 </span>
497
498 <span class="jsdoc-message">
499 Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.11</a>
500
501 using the <a href="https://github.com/docstrap/docstrap">DocStrap template</a>.
502 </span>
503 </footer>
504
505 <script src="scripts/docstrap.lib.js"></script>
506 <script src="scripts/toc.js"></script>
507
508 <script type="text/javascript" src="scripts/fulltext-search-ui.js"></script>
509
510
511 <script>
512 $( function () {
513 $( "[id*='$']" ).each( function () {
514 var $this = $( this );
515
516 $this.attr( "id", $this.attr( "id" ).replace( "$", "__" ) );
517 } );
518
519 $( ".tutorial-section pre, .readme-section pre, pre.prettyprint.source" ).each( function () {
520 var $this = $( this );
521
522 var example = $this.find( "code" );
523 exampleText = example.html();
524 var lang = /{@lang (.*?)}/.exec( exampleText );
525 if ( lang && lang[1] ) {
526 exampleText = exampleText.replace( lang[0], "" );
527 example.html( exampleText );
528 lang = lang[1];
529 } else {
530 var langClassMatch = example.parent()[0].className.match(/lang\-(\S+)/);
531 lang = langClassMatch ? langClassMatch[1] : "javascript";
532 }
533
534 if ( lang ) {
535
536 $this
537 .addClass( "sunlight-highlight-" + lang )
538 .addClass( "linenums" )
539 .html( example.html() );
540
541 }
542 } );
543
544 Sunlight.highlightAll( {
545 lineNumbers : true,
546 showMenu : true,
547 enableDoclinks : true
548 } );
549
550 $.catchAnchorLinks( {
551 navbarOffset: 10
552 } );
553 $( "#toc" ).toc( {
554 anchorName : function ( i, heading, prefix ) {
555 return $( heading ).attr( "id" ) || ( prefix + i );
556 },
557 selectors : "#toc-content h1,#toc-content h2,#toc-content h3,#toc-content h4",
558 showAndHide : false,
559 smoothScrolling: true
560 } );
561
562 $( "#main span[id^='toc']" ).addClass( "toc-shim" );
563 $( '.dropdown-toggle' ).dropdown();
564
565 $( "table" ).each( function () {
566 var $this = $( this );
567 $this.addClass('table');
568 } );
569
570 } );
571 </script>
572
573
574
575 <!--Navigation and Symbol Display-->
576
577
578 <!--Google Analytics-->
579
580
581
582 <script type="text/javascript">
583 $(document).ready(function() {
584 SearcherDisplay.init();
585 });
586 </script>
587
588
589 </body>
590 </html>