Merge pull request #1560 from tc39/intl-update-iana-subtags-2018-04-23

Intl: Update language subtag data to "IANA language subtag registry, file date 2018-04-23"
This commit is contained in:
Rick Waldron 2018-06-04 16:22:01 -04:00 committed by GitHub
commit 253bc87bc5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -288,7 +288,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
var __tagMappings = { var __tagMappings = {
// property names must be in lower case; values in canonical form // property names must be in lower case; values in canonical form
// grandfathered tags from IANA language subtag registry, file date 2017-12-14 // grandfathered tags from IANA language subtag registry, file date 2018-04-23
"art-lojban": "jbo", "art-lojban": "jbo",
"cel-gaulish": "cel-gaulish", "cel-gaulish": "cel-gaulish",
"en-gb-oed": "en-GB-oxendict", "en-gb-oed": "en-GB-oxendict",
@ -315,7 +315,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"zh-min": "zh-min", "zh-min": "zh-min",
"zh-min-nan": "nan", "zh-min-nan": "nan",
"zh-xiang": "hsn", "zh-xiang": "hsn",
// deprecated redundant tags from IANA language subtag registry, file date 2017-12-14 // deprecated redundant tags from IANA language subtag registry, file date 2018-04-23
"sgn-br": "bzs", "sgn-br": "bzs",
"sgn-co": "csn", "sgn-co": "csn",
"sgn-de": "gsg", "sgn-de": "gsg",
@ -341,7 +341,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"zh-gan": "gan", "zh-gan": "gan",
"zh-wuu": "wuu", "zh-wuu": "wuu",
"zh-yue": "yue", "zh-yue": "yue",
// deprecated variant with prefix from IANA language subtag registry, file date 2017-12-14 // deprecated variant with prefix from IANA language subtag registry, file date 2018-04-23
"ja-latn-hepburn-heploc": "ja-Latn-alalc97" "ja-latn-hepburn-heploc": "ja-Latn-alalc97"
}; };
@ -353,7 +353,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
*/ */
var __subtagMappings = { var __subtagMappings = {
// property names and values must be in canonical case // property names and values must be in canonical case
// language subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 // language subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23
"in": "id", "in": "id",
"iw": "he", "iw": "he",
"ji": "yi", "ji": "yi",
@ -399,6 +399,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"mwj": "vaj", "mwj": "vaj",
"myt": "mry", "myt": "mry",
"nad": "xny", "nad": "xny",
"ncp": "kdz",
"nnx": "ngv", "nnx": "ngv",
"nts": "pij", "nts": "pij",
"oun": "vaj", "oun": "vaj",
@ -431,7 +432,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"ymt": "mtm", "ymt": "mtm",
"yos": "zom", "yos": "zom",
"yuu": "yug", "yuu": "yug",
// region subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 // region subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23
"BU": "MM", "BU": "MM",
"DD": "DE", "DD": "DE",
"FX": "FR", "FX": "FR",
@ -447,7 +448,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
* Spec: IANA Language Subtag Registry. * Spec: IANA Language Subtag Registry.
*/ */
var __extlangMappings = { var __extlangMappings = {
// extlang subtags with Preferred-Value mappings from IANA language subtag registry, file date 2017-12-14 // extlang subtags with Preferred-Value mappings from IANA language subtag registry, file date 2018-04-23
// values are arrays with [0] the replacement value, [1] (if present) the prefix to be removed // values are arrays with [0] the replacement value, [1] (if present) the prefix to be removed
"aao": ["aao", "ar"], "aao": ["aao", "ar"],
"abh": ["abh", "ar"], "abh": ["abh", "ar"],
@ -580,6 +581,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"lsy": ["lsy", "sgn"], "lsy": ["lsy", "sgn"],
"ltg": ["ltg", "lv"], "ltg": ["ltg", "lv"],
"lvs": ["lvs", "lv"], "lvs": ["lvs", "lv"],
"lws": ["lws", "sgn"],
"lzh": ["lzh", "zh"], "lzh": ["lzh", "zh"],
"max": ["max", "ms"], "max": ["max", "ms"],
"mdl": ["mdl", "sgn"], "mdl": ["mdl", "sgn"],
@ -625,6 +627,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"psr": ["psr", "sgn"], "psr": ["psr", "sgn"],
"pys": ["pys", "sgn"], "pys": ["pys", "sgn"],
"rms": ["rms", "sgn"], "rms": ["rms", "sgn"],
"rsi": ["rsi", "sgn"],
"rsl": ["rsl", "sgn"], "rsl": ["rsl", "sgn"],
"rsm": ["rsm", "sgn"], "rsm": ["rsm", "sgn"],
"sdl": ["sdl", "sgn"], "sdl": ["sdl", "sgn"],
@ -672,6 +675,7 @@ function isCanonicalizedStructurallyValidLanguageTag(locale) {
"xml": ["xml", "sgn"], "xml": ["xml", "sgn"],
"xmm": ["xmm", "ms"], "xmm": ["xmm", "ms"],
"xms": ["xms", "sgn"], "xms": ["xms", "sgn"],
"yds": ["yds", "sgn"],
"ygs": ["ygs", "sgn"], "ygs": ["ygs", "sgn"],
"yhs": ["yhs", "sgn"], "yhs": ["yhs", "sgn"],
"ysl": ["ysl", "sgn"], "ysl": ["ysl", "sgn"],