Skip to content

Commit

Permalink
CLDR-17115 Update languages/codes; fix sa (Sanskrit) and dzd (Daza)
Browse files Browse the repository at this point in the history
-Macrolanguage sa Sanskrit Historical, treat as exception

-Take into account the official undeprecation of dzd Daza
  • Loading branch information
btangmu committed Mar 15, 2024
1 parent 2b6583c commit 5811026
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1293,7 +1293,9 @@ public void TestMacrolanguages() {
.addAll(languageCodes)
.addAll(Iso639Data.getAvailable())
.get()) {
if (language.equals("no") || language.equals("sh")) continue; // special cases
if (language.equals("no") || language.equals("sa") || language.equals("sh")) {
continue; // special cases
}
Scope languageScope = getScope(language, lstregLanguageInfo);
if (languageScope == Scope.Macrolanguage) {
if (Iso639Data.getHeirarchy(language) != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,9 @@ public void TestBasicValidity() {
"itpn",
"itts",
"itud",
"SLE");
"SLE",
// 2024
"dzd");
static final Set<String> ALLOWED_MISSING =
ImmutableSet.of(LocaleNames.ROOT, "POSIX", "REVISED", "SAAHO");
static final Set<String> ALLOWED_REGULAR_TO_SPECIAL = ImmutableSet.of("Zanb", "Zinh", "Zyyy");
Expand Down

0 comments on commit 5811026

Please sign in to comment.