Skip to content

Commit

Permalink
Deprived pseudolang mul of a self-name
Browse files Browse the repository at this point in the history
ICU package contains a special code "mul" with a self-name of "multiple
languages". libkiwix now suppresses that. As a result the self-name of
"mul" (like for any other unknown language code) is the code itself
(i.e. "mul").

The most prominent user-visible effect of this change is that the
language filter in the library page no longer contains a "Multiple
languages" entry if there is a legacy ZIM file with the language set to
"mul" - that entry now shows up as "Mul".
  • Loading branch information
veloman-yunkan committed Sep 9, 2024
1 parent 59054aa commit 04bf1be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tools/languageTools.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ void fillLanguagesMap()
const kiwix::ICULanguageInfo lang(*icuLangPtr);
iso639_3.insert({lang.iso3Code(), lang.selfName()});
}
iso639_3.erase("mul");
}

} // unnamed namespace
Expand Down

0 comments on commit 04bf1be

Please sign in to comment.