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