Skip to content

Commit

Permalink
CLDR-15931 GenerateLikelySubtags cleanup
Browse files Browse the repository at this point in the history
Removed hardcoded _CA entries because they aren't necessary since the likely subtags can be derived from the population data.

Also edited the cr_Cans_CA comment because it was overflowing the line and to add more context.
  • Loading branch information
conradarcturus committed Nov 24, 2024
1 parent 0499000 commit d00b78d
Showing 1 changed file with 3 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,6 @@ public static void main(String[] args) throws IOException {
"kby_Arab_NE",
"kdh_Latn_TG",
"zlm_Latn_MY",
"cr_Cans_CA",
"hif_Latn_FJ",
"gon_Telu_IN",
"lzz_Latn_TR",
Expand All @@ -330,14 +329,6 @@ public static void main(String[] args) throws IOException {
"blt_Tavt_VN",
"rhg_Arab_MM",
"rhg_Rohg_MM",
"clc_Latn_CA",
"crg_Latn_CA",
"hur_Latn_CA",
"kwk_Latn_CA",
"lil_Latn_CA",
"ojs_Cans_CA",
"oka_Latn_CA",
"pqm_Latn_CA",
"no_Latn_NO",
"tok_Latn_001",
"prg_Latn_PL",
Expand Down Expand Up @@ -466,7 +457,6 @@ public static void main(String[] args) throws IOException {

// {"und_Cyrl_PL", "be_Cyrl_PL"},

// {"cr", "cr_Cans_CA"},
// {"hif", "hif_Latn_FJ"},
// {"gon", "gon_Telu_IN"},
// {"lif", "lif_Deva_NP"},
Expand Down Expand Up @@ -517,7 +507,9 @@ public static void main(String[] args) throws IOException {
{"hnj_Hmng", "hnj_Hmng_LA"},
{"bap_Krai", "bap_Krai_IN"},

// Cree (macrolanguage) [cr] is spoken by more people than Inukitut [iu]
// Cree (macrolanguage) [cr] is spoken by more people than Inukitut
// [iu] but the population data is spread across constituent
// languages like Woods Cree [cwd] and Plains Cree [crk]
{"und_Cans", "cr_Cans_CA"},
{"und_Cans_CA", "cr_Cans_CA"},
});
Expand Down

0 comments on commit d00b78d

Please sign in to comment.