You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: jsMainactualfunextendLibresPlurals() {
// Make all Libres plurals default to the English implementation// Workaround until https://github.com/Skeptick/libres/issues/53 is fixedPluralRules["nl"] =PluralRules["en"]
PluralRules["de"] =PluralRules["en"]
// ... and so forth ...
}
jacobras
changed the title
Crash on JS when using a language without plural config
Crash on Native when using a language without plural config
Feb 26, 2024
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.My current workaround:
My suggested fix: #54
The text was updated successfully, but these errors were encountered: