8247432: Update IANA Language Subtag Registry to Version 2020-09-29

Reviewed-by: joehw
This commit is contained in:
Naoto Sato 2020-11-23 16:41:50 +00:00
parent 8ddf5e172b
commit ae0ca743f5
2 changed files with 47 additions and 8 deletions

View File

@ -1,4 +1,4 @@
File-Date: 2020-04-01 File-Date: 2020-09-29
%% %%
Type: language Type: language
Subtag: aa Subtag: aa
@ -11260,6 +11260,11 @@ Description: Fyer
Added: 2009-07-29 Added: 2009-07-29
%% %%
Type: language Type: language
Subtag: fif
Description: Faifi
Added: 2020-06-08
%%
Type: language
Subtag: fil Subtag: fil
Description: Filipino Description: Filipino
Description: Pilipino Description: Pilipino
@ -12529,17 +12534,17 @@ Added: 2009-07-29
Scope: collection Scope: collection
%% %%
Type: language Type: language
Subtag: gmu
Description: Gumalu
Added: 2009-07-29
%%
Type: language
Subtag: gmr Subtag: gmr
Description: Mirning Description: Mirning
Description: Mirniny Description: Mirniny
Added: 2020-03-28 Added: 2020-03-28
%% %%
Type: language Type: language
Subtag: gmu
Description: Gumalu
Added: 2009-07-29
%%
Type: language
Subtag: gmv Subtag: gmv
Description: Gamo Description: Gamo
Added: 2009-07-29 Added: 2009-07-29
@ -34310,6 +34315,8 @@ Type: language
Subtag: thw Subtag: thw
Description: Thudam Description: Thudam
Added: 2009-07-29 Added: 2009-07-29
Deprecated: 2020-06-08
Preferred-Value: ola
%% %%
Type: language Type: language
Subtag: thx Subtag: thx
@ -45121,6 +45128,11 @@ Description: Tirhuta
Added: 2011-08-16 Added: 2011-08-16
%% %%
Type: script Type: script
Subtag: Toto
Description: Toto
Added: 2020-05-12
%%
Type: script
Subtag: Ugar Subtag: Ugar
Description: Ugaritic Description: Ugaritic
Added: 2005-10-16 Added: 2005-10-16
@ -47469,6 +47481,23 @@ Comments: The subtag represents Branislau Taraskievic's Belarusian
Miensk 2005). Miensk 2005).
%% %%
Type: variant Type: variant
Subtag: tongyong
Description: Tongyong Pinyin romanization
Added: 2020-06-08
Prefix: zh-Latn
Comments: Former official transcription standard for Mandarin Chinese in
Taiwan.
%%
Type: variant
Subtag: tunumiit
Description: Tunumiisiut
Description: East Greenlandic
Description: Østgrønlandsk
Added: 2020-07-16
Prefix: kl
Comments: Also known as Tunumiit oraasiat
%%
Type: variant
Subtag: uccor Subtag: uccor
Description: Unified Cornish orthography of Revived Cornish Description: Unified Cornish orthography of Revived Cornish
Added: 2008-10-14 Added: 2008-10-14
@ -47521,6 +47550,14 @@ Comments: Vallader is one of the five traditional written standards or
"idioms" of the Romansh language. "idioms" of the Romansh language.
%% %%
Type: variant Type: variant
Subtag: vecdruka
Description: Latvian orthography used before 1920s ("vecā druka")
Added: 2020-09-26
Prefix: lv
Comments: The subtag represents the old orthography of the Latvian
language used during c. 1600s1920s.
%%
Type: variant
Subtag: vivaraup Subtag: vivaraup
Description: Vivaro-Alpine Description: Vivaro-Alpine
Added: 2018-04-22 Added: 2018-04-22

View File

@ -23,7 +23,7 @@
/* /*
* @test * @test
* @bug 8040211 8191404 8203872 8222980 8225435 8241082 8242010 * @bug 8040211 8191404 8203872 8222980 8225435 8241082 8242010 8247432
* @summary Checks the IANA language subtag registry data update * @summary Checks the IANA language subtag registry data update
* (LSR Revision: 2020-04-01) with Locale and Locale.LanguageRange * (LSR Revision: 2020-04-01) with Locale and Locale.LanguageRange
* class methods. * class methods.
@ -45,7 +45,7 @@ public class Bug8040211 {
private static final String ACCEPT_LANGUAGE = private static final String ACCEPT_LANGUAGE =
"Accept-Language: aam, adp, aog, aue, bcg, bpp, cey, cnp, cqu, csp, dif, dmw, ema," "Accept-Language: aam, adp, aog, aue, bcg, bpp, cey, cnp, cqu, csp, dif, dmw, ema,"
+ " en-gb-oed, gti, kdz, koj, kru, kwq, kxe, kzk, lii, lmm, lsn, lsv, lvi, mtm," + " en-gb-oed, gti, kdz, koj, kru, kwq, kxe, kzk, lii, lmm, lsn, lsv, lvi, mtm,"
+ " ngv, nns, oyb, phr, pnd, pub, scv, snz, suj, szy, taj, tjj, tjp, tvx," + " ngv, nns, ola, oyb, phr, pnd, pub, scv, snz, suj, szy, taj, tjj, tjp, tvx,"
+ " uss, uth, wkr;q=0.9, ar-hyw;q=0.8, yug;q=0.5, gfx;q=0.4"; + " uss, uth, wkr;q=0.9, ar-hyw;q=0.8, yug;q=0.5, gfx;q=0.4";
private static final List<LanguageRange> EXPECTED_RANGE_LIST = List.of( private static final List<LanguageRange> EXPECTED_RANGE_LIST = List.of(
new LanguageRange("aam", 1.0), new LanguageRange("aam", 1.0),
@ -105,6 +105,8 @@ public class Bug8040211 {
new LanguageRange("nnx", 1.0), new LanguageRange("nnx", 1.0),
new LanguageRange("nns", 1.0), new LanguageRange("nns", 1.0),
new LanguageRange("nbr", 1.0), new LanguageRange("nbr", 1.0),
new LanguageRange("ola", 1.0),
new LanguageRange("thw", 1.0),
new LanguageRange("oyb", 1.0), new LanguageRange("oyb", 1.0),
new LanguageRange("thx", 1.0), new LanguageRange("thx", 1.0),
new LanguageRange("skk", 1.0), new LanguageRange("skk", 1.0),