I would like to extract all plural forms from the code, rather than only a single form, and then having to update the .json file with other plural forms
I'm not exactly sure of the API for this, and whether it would require additions to i18next core.
Motivation
So we have one single way for developers to write phrases, and plurals are properly translated.
🚀 Feature Proposal
I would like to extract all plural forms from the code, rather than only a single form, and then having to update the .json file with other plural forms
I'm not exactly sure of the API for this, and whether it would require additions to i18next core.
Motivation
So we have one single way for developers to write phrases, and plurals are properly translated.
Example
Perhaps, something like:
Which, after running i18next-parser, would output
A similar API could exist for
<Trans />
as well.