Libres crashes on JS when using any language that doesn't have a set of PluralRules. For example, Dutch ("nl"), even though it follows the same rules as English.
Plural rule for 'nl' not provided
IllegalStateException: Plural rule for 'nl' not provided
My current workaround:
// See also: jsMain
actual fun extendLibresPlurals() {
// Make all Libres plurals default to the English implementation
// Workaround until https://github.com/Skeptick/libres/issues/53 is fixed
PluralRules["nl"] = PluralRules["en"]
PluralRules["de"] = PluralRules["en"]
// ... and so forth ...
}
My suggested fix: #54