This repository has been archived by the owner on Oct 1, 2024. It is now read-only.
[react-i18n] Pluralization should wait until the locales translations have loaded #1685
Open
4 tasks done
Labels
Overview
Originally raised over Slack due to this support issue, I noticed that we load in
en
translations before the selected locales translations:When using pluralization, for specific
count
values (the variable for this isPLURALIZATION_KEY_NAME
in the Quilt repo) we'll receive back the fields "few" or "many". Because we've yet to load in the locale-specific translations, we'll default to the already loaded inen
translations. With pluralization the "few" and "many" keys (specific tocs
andpl
locales) won't exist inen
causing the app to crash.My proposal is to investigate how we can also fallback on the
en
pluralization if that locales translations haven't been loaded in yet. It looks like this can take place somewhere here.Consuming repo
facebook-ads
Area
Area: <area>
labels to this issueScope
Is this issue related to a specific package?
Package: <package_name>
label.Checklist
The text was updated successfully, but these errors were encountered: