summaryrefslogtreecommitdiffstats
path: root/js/src/builtin/IntlData.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/builtin/IntlData.js')
-rw-r--r--js/src/builtin/IntlData.js382
1 files changed, 382 insertions, 0 deletions
diff --git a/js/src/builtin/IntlData.js b/js/src/builtin/IntlData.js
new file mode 100644
index 000000000..269cf9f93
--- /dev/null
+++ b/js/src/builtin/IntlData.js
@@ -0,0 +1,382 @@
+// Generated by make_intl_data.py. DO NOT EDIT.
+
+// Mappings from complete tags to preferred values.
+// Derived from IANA Language Subtag Registry, file date 2016-10-12.
+// http://www.iana.org/assignments/language-subtag-registry
+var langTagMappings = {
+ "art-lojban": "jbo",
+ "cel-gaulish": "cel-gaulish",
+ "en-gb-oed": "en-GB-oxendict",
+ "i-ami": "ami",
+ "i-bnn": "bnn",
+ "i-default": "i-default",
+ "i-enochian": "i-enochian",
+ "i-hak": "hak",
+ "i-klingon": "tlh",
+ "i-lux": "lb",
+ "i-mingo": "i-mingo",
+ "i-navajo": "nv",
+ "i-pwn": "pwn",
+ "i-tao": "tao",
+ "i-tay": "tay",
+ "i-tsu": "tsu",
+ "ja-latn-hepburn-heploc": "ja-Latn-alalc97",
+ "no-bok": "nb",
+ "no-nyn": "nn",
+ "sgn-be-fr": "sfb",
+ "sgn-be-nl": "vgt",
+ "sgn-br": "bzs",
+ "sgn-ch-de": "sgg",
+ "sgn-co": "csn",
+ "sgn-de": "gsg",
+ "sgn-dk": "dsl",
+ "sgn-es": "ssp",
+ "sgn-fr": "fsl",
+ "sgn-gb": "bfi",
+ "sgn-gr": "gss",
+ "sgn-ie": "isg",
+ "sgn-it": "ise",
+ "sgn-jp": "jsl",
+ "sgn-mx": "mfs",
+ "sgn-ni": "ncs",
+ "sgn-nl": "dse",
+ "sgn-no": "nsl",
+ "sgn-pt": "psr",
+ "sgn-se": "swl",
+ "sgn-us": "ase",
+ "sgn-za": "sfs",
+ "zh-cmn": "cmn",
+ "zh-cmn-hans": "cmn-Hans",
+ "zh-cmn-hant": "cmn-Hant",
+ "zh-gan": "gan",
+ "zh-guoyu": "cmn",
+ "zh-hakka": "hak",
+ "zh-min": "zh-min",
+ "zh-min-nan": "nan",
+ "zh-wuu": "wuu",
+ "zh-xiang": "hsn",
+ "zh-yue": "yue",
+};
+
+// Mappings from non-extlang subtags to preferred values.
+// Derived from IANA Language Subtag Registry, file date 2016-10-12.
+// http://www.iana.org/assignments/language-subtag-registry
+var langSubtagMappings = {
+ "BU": "MM",
+ "DD": "DE",
+ "FX": "FR",
+ "TP": "TL",
+ "YD": "YE",
+ "ZR": "CD",
+ "aam": "aas",
+ "adp": "dz",
+ "aue": "ktz",
+ "ayx": "nun",
+ "bgm": "bcg",
+ "bjd": "drl",
+ "ccq": "rki",
+ "cjr": "mom",
+ "cka": "cmr",
+ "cmk": "xch",
+ "coy": "pij",
+ "cqu": "quh",
+ "drh": "khk",
+ "drw": "prs",
+ "gav": "dev",
+ "gfx": "vaj",
+ "ggn": "gvr",
+ "gti": "nyc",
+ "guv": "duz",
+ "hrr": "jal",
+ "ibi": "opa",
+ "ilw": "gal",
+ "in": "id",
+ "iw": "he",
+ "ji": "yi",
+ "jw": "jv",
+ "kgc": "tdf",
+ "kgh": "kml",
+ "koj": "kwv",
+ "ktr": "dtp",
+ "kvs": "gdj",
+ "kwq": "yam",
+ "kxe": "tvd",
+ "kzj": "dtp",
+ "kzt": "dtp",
+ "lii": "raq",
+ "lmm": "rmx",
+ "meg": "cir",
+ "mo": "ro",
+ "mst": "mry",
+ "mwj": "vaj",
+ "myt": "mry",
+ "nad": "xny",
+ "nnx": "ngv",
+ "nts": "pij",
+ "oun": "vaj",
+ "pcr": "adx",
+ "pmc": "huw",
+ "pmu": "phr",
+ "ppa": "bfy",
+ "ppr": "lcq",
+ "pry": "prt",
+ "puz": "pub",
+ "sca": "hle",
+ "tdu": "dtp",
+ "thc": "tpo",
+ "thx": "oyb",
+ "tie": "ras",
+ "tkk": "twm",
+ "tlw": "weo",
+ "tmp": "tyj",
+ "tne": "kak",
+ "tnf": "prs",
+ "tsf": "taj",
+ "uok": "ema",
+ "xba": "cax",
+ "xia": "acn",
+ "xkh": "waw",
+ "xsj": "suj",
+ "ybd": "rki",
+ "yma": "lrr",
+ "ymt": "mtm",
+ "yos": "zom",
+ "yuu": "yug",
+};
+
+// Mappings from extlang subtags to preferred values.
+// Derived from IANA Language Subtag Registry, file date 2016-10-12.
+// http://www.iana.org/assignments/language-subtag-registry
+var extlangMappings = {
+ "aao": {preferred: "aao", prefix: "ar"},
+ "abh": {preferred: "abh", prefix: "ar"},
+ "abv": {preferred: "abv", prefix: "ar"},
+ "acm": {preferred: "acm", prefix: "ar"},
+ "acq": {preferred: "acq", prefix: "ar"},
+ "acw": {preferred: "acw", prefix: "ar"},
+ "acx": {preferred: "acx", prefix: "ar"},
+ "acy": {preferred: "acy", prefix: "ar"},
+ "adf": {preferred: "adf", prefix: "ar"},
+ "ads": {preferred: "ads", prefix: "sgn"},
+ "aeb": {preferred: "aeb", prefix: "ar"},
+ "aec": {preferred: "aec", prefix: "ar"},
+ "aed": {preferred: "aed", prefix: "sgn"},
+ "aen": {preferred: "aen", prefix: "sgn"},
+ "afb": {preferred: "afb", prefix: "ar"},
+ "afg": {preferred: "afg", prefix: "sgn"},
+ "ajp": {preferred: "ajp", prefix: "ar"},
+ "apc": {preferred: "apc", prefix: "ar"},
+ "apd": {preferred: "apd", prefix: "ar"},
+ "arb": {preferred: "arb", prefix: "ar"},
+ "arq": {preferred: "arq", prefix: "ar"},
+ "ars": {preferred: "ars", prefix: "ar"},
+ "ary": {preferred: "ary", prefix: "ar"},
+ "arz": {preferred: "arz", prefix: "ar"},
+ "ase": {preferred: "ase", prefix: "sgn"},
+ "asf": {preferred: "asf", prefix: "sgn"},
+ "asp": {preferred: "asp", prefix: "sgn"},
+ "asq": {preferred: "asq", prefix: "sgn"},
+ "asw": {preferred: "asw", prefix: "sgn"},
+ "auz": {preferred: "auz", prefix: "ar"},
+ "avl": {preferred: "avl", prefix: "ar"},
+ "ayh": {preferred: "ayh", prefix: "ar"},
+ "ayl": {preferred: "ayl", prefix: "ar"},
+ "ayn": {preferred: "ayn", prefix: "ar"},
+ "ayp": {preferred: "ayp", prefix: "ar"},
+ "bbz": {preferred: "bbz", prefix: "ar"},
+ "bfi": {preferred: "bfi", prefix: "sgn"},
+ "bfk": {preferred: "bfk", prefix: "sgn"},
+ "bjn": {preferred: "bjn", prefix: "ms"},
+ "bog": {preferred: "bog", prefix: "sgn"},
+ "bqn": {preferred: "bqn", prefix: "sgn"},
+ "bqy": {preferred: "bqy", prefix: "sgn"},
+ "btj": {preferred: "btj", prefix: "ms"},
+ "bve": {preferred: "bve", prefix: "ms"},
+ "bvl": {preferred: "bvl", prefix: "sgn"},
+ "bvu": {preferred: "bvu", prefix: "ms"},
+ "bzs": {preferred: "bzs", prefix: "sgn"},
+ "cdo": {preferred: "cdo", prefix: "zh"},
+ "cds": {preferred: "cds", prefix: "sgn"},
+ "cjy": {preferred: "cjy", prefix: "zh"},
+ "cmn": {preferred: "cmn", prefix: "zh"},
+ "coa": {preferred: "coa", prefix: "ms"},
+ "cpx": {preferred: "cpx", prefix: "zh"},
+ "csc": {preferred: "csc", prefix: "sgn"},
+ "csd": {preferred: "csd", prefix: "sgn"},
+ "cse": {preferred: "cse", prefix: "sgn"},
+ "csf": {preferred: "csf", prefix: "sgn"},
+ "csg": {preferred: "csg", prefix: "sgn"},
+ "csl": {preferred: "csl", prefix: "sgn"},
+ "csn": {preferred: "csn", prefix: "sgn"},
+ "csq": {preferred: "csq", prefix: "sgn"},
+ "csr": {preferred: "csr", prefix: "sgn"},
+ "czh": {preferred: "czh", prefix: "zh"},
+ "czo": {preferred: "czo", prefix: "zh"},
+ "doq": {preferred: "doq", prefix: "sgn"},
+ "dse": {preferred: "dse", prefix: "sgn"},
+ "dsl": {preferred: "dsl", prefix: "sgn"},
+ "dup": {preferred: "dup", prefix: "ms"},
+ "ecs": {preferred: "ecs", prefix: "sgn"},
+ "esl": {preferred: "esl", prefix: "sgn"},
+ "esn": {preferred: "esn", prefix: "sgn"},
+ "eso": {preferred: "eso", prefix: "sgn"},
+ "eth": {preferred: "eth", prefix: "sgn"},
+ "fcs": {preferred: "fcs", prefix: "sgn"},
+ "fse": {preferred: "fse", prefix: "sgn"},
+ "fsl": {preferred: "fsl", prefix: "sgn"},
+ "fss": {preferred: "fss", prefix: "sgn"},
+ "gan": {preferred: "gan", prefix: "zh"},
+ "gds": {preferred: "gds", prefix: "sgn"},
+ "gom": {preferred: "gom", prefix: "kok"},
+ "gse": {preferred: "gse", prefix: "sgn"},
+ "gsg": {preferred: "gsg", prefix: "sgn"},
+ "gsm": {preferred: "gsm", prefix: "sgn"},
+ "gss": {preferred: "gss", prefix: "sgn"},
+ "gus": {preferred: "gus", prefix: "sgn"},
+ "hab": {preferred: "hab", prefix: "sgn"},
+ "haf": {preferred: "haf", prefix: "sgn"},
+ "hak": {preferred: "hak", prefix: "zh"},
+ "hds": {preferred: "hds", prefix: "sgn"},
+ "hji": {preferred: "hji", prefix: "ms"},
+ "hks": {preferred: "hks", prefix: "sgn"},
+ "hos": {preferred: "hos", prefix: "sgn"},
+ "hps": {preferred: "hps", prefix: "sgn"},
+ "hsh": {preferred: "hsh", prefix: "sgn"},
+ "hsl": {preferred: "hsl", prefix: "sgn"},
+ "hsn": {preferred: "hsn", prefix: "zh"},
+ "icl": {preferred: "icl", prefix: "sgn"},
+ "iks": {preferred: "iks", prefix: "sgn"},
+ "ils": {preferred: "ils", prefix: "sgn"},
+ "inl": {preferred: "inl", prefix: "sgn"},
+ "ins": {preferred: "ins", prefix: "sgn"},
+ "ise": {preferred: "ise", prefix: "sgn"},
+ "isg": {preferred: "isg", prefix: "sgn"},
+ "isr": {preferred: "isr", prefix: "sgn"},
+ "jak": {preferred: "jak", prefix: "ms"},
+ "jax": {preferred: "jax", prefix: "ms"},
+ "jcs": {preferred: "jcs", prefix: "sgn"},
+ "jhs": {preferred: "jhs", prefix: "sgn"},
+ "jls": {preferred: "jls", prefix: "sgn"},
+ "jos": {preferred: "jos", prefix: "sgn"},
+ "jsl": {preferred: "jsl", prefix: "sgn"},
+ "jus": {preferred: "jus", prefix: "sgn"},
+ "kgi": {preferred: "kgi", prefix: "sgn"},
+ "knn": {preferred: "knn", prefix: "kok"},
+ "kvb": {preferred: "kvb", prefix: "ms"},
+ "kvk": {preferred: "kvk", prefix: "sgn"},
+ "kvr": {preferred: "kvr", prefix: "ms"},
+ "kxd": {preferred: "kxd", prefix: "ms"},
+ "lbs": {preferred: "lbs", prefix: "sgn"},
+ "lce": {preferred: "lce", prefix: "ms"},
+ "lcf": {preferred: "lcf", prefix: "ms"},
+ "liw": {preferred: "liw", prefix: "ms"},
+ "lls": {preferred: "lls", prefix: "sgn"},
+ "lsg": {preferred: "lsg", prefix: "sgn"},
+ "lsl": {preferred: "lsl", prefix: "sgn"},
+ "lso": {preferred: "lso", prefix: "sgn"},
+ "lsp": {preferred: "lsp", prefix: "sgn"},
+ "lst": {preferred: "lst", prefix: "sgn"},
+ "lsy": {preferred: "lsy", prefix: "sgn"},
+ "ltg": {preferred: "ltg", prefix: "lv"},
+ "lvs": {preferred: "lvs", prefix: "lv"},
+ "lzh": {preferred: "lzh", prefix: "zh"},
+ "max": {preferred: "max", prefix: "ms"},
+ "mdl": {preferred: "mdl", prefix: "sgn"},
+ "meo": {preferred: "meo", prefix: "ms"},
+ "mfa": {preferred: "mfa", prefix: "ms"},
+ "mfb": {preferred: "mfb", prefix: "ms"},
+ "mfs": {preferred: "mfs", prefix: "sgn"},
+ "min": {preferred: "min", prefix: "ms"},
+ "mnp": {preferred: "mnp", prefix: "zh"},
+ "mqg": {preferred: "mqg", prefix: "ms"},
+ "mre": {preferred: "mre", prefix: "sgn"},
+ "msd": {preferred: "msd", prefix: "sgn"},
+ "msi": {preferred: "msi", prefix: "ms"},
+ "msr": {preferred: "msr", prefix: "sgn"},
+ "mui": {preferred: "mui", prefix: "ms"},
+ "mzc": {preferred: "mzc", prefix: "sgn"},
+ "mzg": {preferred: "mzg", prefix: "sgn"},
+ "mzy": {preferred: "mzy", prefix: "sgn"},
+ "nan": {preferred: "nan", prefix: "zh"},
+ "nbs": {preferred: "nbs", prefix: "sgn"},
+ "ncs": {preferred: "ncs", prefix: "sgn"},
+ "nsi": {preferred: "nsi", prefix: "sgn"},
+ "nsl": {preferred: "nsl", prefix: "sgn"},
+ "nsp": {preferred: "nsp", prefix: "sgn"},
+ "nsr": {preferred: "nsr", prefix: "sgn"},
+ "nzs": {preferred: "nzs", prefix: "sgn"},
+ "okl": {preferred: "okl", prefix: "sgn"},
+ "orn": {preferred: "orn", prefix: "ms"},
+ "ors": {preferred: "ors", prefix: "ms"},
+ "pel": {preferred: "pel", prefix: "ms"},
+ "pga": {preferred: "pga", prefix: "ar"},
+ "pgz": {preferred: "pgz", prefix: "sgn"},
+ "pks": {preferred: "pks", prefix: "sgn"},
+ "prl": {preferred: "prl", prefix: "sgn"},
+ "prz": {preferred: "prz", prefix: "sgn"},
+ "psc": {preferred: "psc", prefix: "sgn"},
+ "psd": {preferred: "psd", prefix: "sgn"},
+ "pse": {preferred: "pse", prefix: "ms"},
+ "psg": {preferred: "psg", prefix: "sgn"},
+ "psl": {preferred: "psl", prefix: "sgn"},
+ "pso": {preferred: "pso", prefix: "sgn"},
+ "psp": {preferred: "psp", prefix: "sgn"},
+ "psr": {preferred: "psr", prefix: "sgn"},
+ "pys": {preferred: "pys", prefix: "sgn"},
+ "rms": {preferred: "rms", prefix: "sgn"},
+ "rsi": {preferred: "rsi", prefix: "sgn"},
+ "rsl": {preferred: "rsl", prefix: "sgn"},
+ "rsm": {preferred: "rsm", prefix: "sgn"},
+ "sdl": {preferred: "sdl", prefix: "sgn"},
+ "sfb": {preferred: "sfb", prefix: "sgn"},
+ "sfs": {preferred: "sfs", prefix: "sgn"},
+ "sgg": {preferred: "sgg", prefix: "sgn"},
+ "sgx": {preferred: "sgx", prefix: "sgn"},
+ "shu": {preferred: "shu", prefix: "ar"},
+ "slf": {preferred: "slf", prefix: "sgn"},
+ "sls": {preferred: "sls", prefix: "sgn"},
+ "sqk": {preferred: "sqk", prefix: "sgn"},
+ "sqs": {preferred: "sqs", prefix: "sgn"},
+ "ssh": {preferred: "ssh", prefix: "ar"},
+ "ssp": {preferred: "ssp", prefix: "sgn"},
+ "ssr": {preferred: "ssr", prefix: "sgn"},
+ "svk": {preferred: "svk", prefix: "sgn"},
+ "swc": {preferred: "swc", prefix: "sw"},
+ "swh": {preferred: "swh", prefix: "sw"},
+ "swl": {preferred: "swl", prefix: "sgn"},
+ "syy": {preferred: "syy", prefix: "sgn"},
+ "tmw": {preferred: "tmw", prefix: "ms"},
+ "tse": {preferred: "tse", prefix: "sgn"},
+ "tsm": {preferred: "tsm", prefix: "sgn"},
+ "tsq": {preferred: "tsq", prefix: "sgn"},
+ "tss": {preferred: "tss", prefix: "sgn"},
+ "tsy": {preferred: "tsy", prefix: "sgn"},
+ "tza": {preferred: "tza", prefix: "sgn"},
+ "ugn": {preferred: "ugn", prefix: "sgn"},
+ "ugy": {preferred: "ugy", prefix: "sgn"},
+ "ukl": {preferred: "ukl", prefix: "sgn"},
+ "uks": {preferred: "uks", prefix: "sgn"},
+ "urk": {preferred: "urk", prefix: "ms"},
+ "uzn": {preferred: "uzn", prefix: "uz"},
+ "uzs": {preferred: "uzs", prefix: "uz"},
+ "vgt": {preferred: "vgt", prefix: "sgn"},
+ "vkk": {preferred: "vkk", prefix: "ms"},
+ "vkt": {preferred: "vkt", prefix: "ms"},
+ "vsi": {preferred: "vsi", prefix: "sgn"},
+ "vsl": {preferred: "vsl", prefix: "sgn"},
+ "vsv": {preferred: "vsv", prefix: "sgn"},
+ "wuu": {preferred: "wuu", prefix: "zh"},
+ "xki": {preferred: "xki", prefix: "sgn"},
+ "xml": {preferred: "xml", prefix: "sgn"},
+ "xmm": {preferred: "xmm", prefix: "ms"},
+ "xms": {preferred: "xms", prefix: "sgn"},
+ "ygs": {preferred: "ygs", prefix: "sgn"},
+ "yhs": {preferred: "yhs", prefix: "sgn"},
+ "ysl": {preferred: "ysl", prefix: "sgn"},
+ "yue": {preferred: "yue", prefix: "zh"},
+ "zib": {preferred: "zib", prefix: "sgn"},
+ "zlm": {preferred: "zlm", prefix: "ms"},
+ "zmi": {preferred: "zmi", prefix: "ms"},
+ "zsl": {preferred: "zsl", prefix: "sgn"},
+ "zsm": {preferred: "zsm", prefix: "ms"},
+};