Disable client side I18n fallbacks
They weren't actually doing anything, as we only ever load resources for the current language, and the real fallback is handled on the server when those are built.
This commit is contained in:
parent
998ef40d19
commit
84fc417162
1 changed files with 0 additions and 1 deletions
|
@ -21,7 +21,6 @@
|
|||
|
||||
I18n.default_locale = OSM.DEFAULT_LOCALE;
|
||||
I18n.locale = locale;
|
||||
I18n.fallbacks = true;
|
||||
|
||||
// '-' are replaced with '_' in https://github.com/eemeli/make-plural/tree/main/packages/plurals
|
||||
const pluralizer = plurals[locale.replace(/\W+/g, "_")] || plurals[locale.split("-")[0]];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue