Bug 1314331 - Update IANA language subtag registry to version from 2016-10-12. r=Waldo
authorAndré Bargull <andre.bargull@gmail.com>
Thu, 03 Nov 2016 04:50:46 -0700
changeset 351320 33b4d8c005c4e68c11a10a366719593c6b40819e
parent 351319 f98d9da756c77935e344330f75651145c95c4465
child 351321 cb5e3d3e959672fa10ca619dd8ab7c6f58da161c
push id6795
push userjlund@mozilla.com
push dateMon, 23 Jan 2017 14:19:46 +0000
treeherdermozilla-esr52@76101b503191 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersWaldo
bugs1314331
milestone52.0a1
Bug 1314331 - Update IANA language subtag registry to version from 2016-10-12. r=Waldo
js/src/builtin/IntlData.js
--- a/js/src/builtin/IntlData.js
+++ b/js/src/builtin/IntlData.js
@@ -1,17 +1,17 @@
 // Generated by make_intl_data.py. DO NOT EDIT.
 
 // Mappings from complete tags to preferred values.
-// Derived from IANA Language Subtag Registry, file date 2013-01-25.
+// 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-oed",
+    "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",
@@ -54,56 +54,103 @@ var langTagMappings = {
     "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 2013-01-25.
+// 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",
-    "lcq": "ppr",
+    "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 2013-01-25.
+// 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"},
@@ -193,16 +240,17 @@ var extlangMappings = {
     "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"},
@@ -257,31 +305,33 @@ var extlangMappings = {
     "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"},
@@ -315,17 +365,18 @@ var extlangMappings = {
     "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"},
-    "yds": {preferred: "yds", 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"},
 };