Skip to content

Commit

Permalink
CLDR-17099 Fix ICU breakage with likelysubtags (#3298)
Browse files Browse the repository at this point in the history
  • Loading branch information
macchiati authored Oct 2, 2023
1 parent fadf398 commit 57571f3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
3 changes: 3 additions & 0 deletions common/supplemental/likelySubtags.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1653,7 +1653,9 @@ not be patched by hand, as any changes made in that fashion may be lost.

<!-- Retain und and und+macroregions that are in CLDR locales, except those mapping to en anyway -->
<likelySubtag from="und" to="en_Latn_US"/>
<likelySubtag from="und_Latn" to="en_Latn_US"/>
<likelySubtag from="und_419" to="es_Latn_419"/>
<likelySubtag from="und_Latn_419" to="es_Latn_419"/>

<!--{ ?; ?; ? } => { English; Latin; United States }-->

Expand Down Expand Up @@ -1733,6 +1735,7 @@ not be patched by hand, as any changes made in that fashion may be lost.
<likelySubtag from="und_Cyrl_MK" to="mk_Cyrl_MK"/>
<likelySubtag from="und_Cyrl_MN" to="mn_Cyrl_MN"/>
<likelySubtag from="und_Cyrl_RS" to="sr_Cyrl_RS"/>
<likelySubtag from="und_Latn_RS" to="sr_Latn_RS"/>
<likelySubtag from="und_Cyrl_TJ" to="tg_Cyrl_TJ"/>
<likelySubtag from="und_Cyrl_UA" to="uk_Cyrl_UA"/>
<likelySubtag from="und_Deva_NP" to="ne_Deva_NP"/>
Expand Down
20 changes: 10 additions & 10 deletions common/testData/localeIdentifiers/likelySubtags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1259,7 +1259,7 @@ und-Latn-001 ; en-Latn-001 ; en-001 ;
und-Latn-150 ; en-Latn-150 ; en-150 ;
und-Latn-419 ; es-Latn-419 ; es-419 ;
und-Latn-AD ; ca-Latn-AD ; ca-AD ;
und-Latn-AE ; ar-Latn-AE ; ;
und-Latn-AE ; en-Latn-AE ; en-AE ;
und-Latn-AG ; en-Latn-AG ; en-AG ;
und-Latn-AI ; en-Latn-AI ; en-AI ;
und-Latn-AL ; sq-Latn-AL ; sq ;
Expand Down Expand Up @@ -1288,7 +1288,7 @@ und-Latn-BS ; en-Latn-BS ; en-BS ;
und-Latn-BW ; en-Latn-BW ; en-BW ;
und-Latn-BZ ; en-Latn-BZ ; en-BZ ;
und-Latn-CA ; en-Latn-CA ; en-CA ;
und-Latn-CC ; ms-Latn-CC ; ;
und-Latn-CC ; en-Latn-CC ; en-CC ;
und-Latn-CD ; sw-Latn-CD ; sw-CD ;
und-Latn-CF ; fr-Latn-CF ; fr-CF ;
und-Latn-CG ; fr-Latn-CG ; fr-CG ;
Expand Down Expand Up @@ -1316,7 +1316,7 @@ und-Latn-DZ ; fr-Latn-DZ ; fr-DZ ;
und-Latn-EA ; es-Latn-EA ; es-EA ;
und-Latn-EC ; es-Latn-EC ; es-EC ;
und-Latn-EE ; et-Latn-EE ; et ;
und-Latn-ER ; ti-Latn-ER ; ;
und-Latn-ER ; en-Latn-ER ; en-ER ;
und-Latn-ES ; es-Latn-ES ; es ;
und-Latn-ET ; en-Latn-ET ; en-ET ;
und-Latn-FI ; fi-Latn-FI ; fi ;
Expand All @@ -1341,17 +1341,17 @@ und-Latn-GT ; es-Latn-GT ; es-GT ;
und-Latn-GU ; en-Latn-GU ; en-GU ;
und-Latn-GW ; pt-Latn-GW ; pt-GW ;
und-Latn-GY ; en-Latn-GY ; en-GY ;
und-Latn-HK ; zh-Latn-HK ; ;
und-Latn-HK ; en-Latn-HK ; en-HK ;
und-Latn-HN ; es-Latn-HN ; es-HN ;
und-Latn-HR ; hr-Latn-HR ; hr ;
und-Latn-HT ; ht-Latn-HT ; ht ;
und-Latn-HU ; hu-Latn-HU ; hu ;
und-Latn-IC ; es-Latn-IC ; es-IC ;
und-Latn-ID ; id-Latn-ID ; id ;
und-Latn-IE ; en-Latn-IE ; en-IE ;
und-Latn-IL ; he-Latn-IL ; he-Latn ;
und-Latn-IL ; en-Latn-IL ; en-IL ;
und-Latn-IM ; en-Latn-IM ; en-IM ;
und-Latn-IN ; hi-Latn-IN ; hi-Latn ;
und-Latn-IN ; en-Latn-IN ; en-IN ;
und-Latn-IO ; en-Latn-IO ; en-IO ;
und-Latn-IS ; is-Latn-IS ; is ;
und-Latn-IT ; it-Latn-IT ; it ;
Expand Down Expand Up @@ -1385,7 +1385,7 @@ und-Latn-MR ; fr-Latn-MR ; fr-MR ;
und-Latn-MS ; en-Latn-MS ; en-MS ;
und-Latn-MT ; mt-Latn-MT ; mt ;
und-Latn-MU ; mfe-Latn-MU ; mfe ;
und-Latn-MV ; dv-Latn-MV ; dv-Latn ;
und-Latn-MV ; en-Latn-MV ; en-MV ;
und-Latn-MW ; en-Latn-MW ; en-MW ;
und-Latn-MX ; es-Latn-MX ; es-MX ;
und-Latn-MY ; ms-Latn-MY ; ms ;
Expand All @@ -1406,7 +1406,7 @@ und-Latn-PE ; es-Latn-PE ; es-PE ;
und-Latn-PF ; fr-Latn-PF ; fr-PF ;
und-Latn-PG ; tpi-Latn-PG ; tpi ;
und-Latn-PH ; fil-Latn-PH ; fil ;
und-Latn-PK ; ur-Latn-PK ; ur-Latn ;
und-Latn-PK ; en-Latn-PK ; en-PK ;
und-Latn-PL ; pl-Latn-PL ; pl ;
und-Latn-PM ; fr-Latn-PM ; fr-PM ;
und-Latn-PN ; en-Latn-PN ; en-PN ;
Expand All @@ -1420,7 +1420,7 @@ und-Latn-RS ; sr-Latn-RS ; sr-Latn ;
und-Latn-RW ; rw-Latn-RW ; rw ;
und-Latn-SB ; en-Latn-SB ; en-SB ;
und-Latn-SC ; fr-Latn-SC ; fr-SC ;
und-Latn-SD ; ar-Latn-SD ; ;
und-Latn-SD ; en-Latn-SD ; en-SD ;
und-Latn-SE ; sv-Latn-SE ; sv ;
und-Latn-SG ; en-Latn-SG ; en-SG ;
und-Latn-SH ; en-Latn-SH ; en-SH ;
Expand All @@ -1432,7 +1432,7 @@ und-Latn-SM ; it-Latn-SM ; it-SM ;
und-Latn-SN ; fr-Latn-SN ; fr-SN ;
und-Latn-SO ; so-Latn-SO ; so ;
und-Latn-SR ; nl-Latn-SR ; nl-SR ;
und-Latn-SS ; ar-Latn-SS ; ;
und-Latn-SS ; en-Latn-SS ; en-SS ;
und-Latn-ST ; pt-Latn-ST ; pt-ST ;
und-Latn-SV ; es-Latn-SV ; es-SV ;
und-Latn-SX ; en-Latn-SX ; en-SX ;
Expand Down

0 comments on commit 57571f3

Please sign in to comment.