i18next-parser
i18next-parser copied to clipboard
Support fallback keys in t function
🚀 Feature Proposal
Support parsing of t function with fallback keys array.
Motivation
It adds support for a useful i18next feature.
Example
i18next supports specifying multiple keys as fallbacks in the t function.
t(['use.this.if.it.is.translated', 'otherwise.use.this']);
This doesn't result in two keys found by [email protected].
@markdon If you are using 2.1.2
, I would suggest you upgrade to a newer version and I will not maintain the 2.x
branch. We are currently at 4.x
and about to launch 5.x
@karellm I'm definitely looking forward to updating major versions of dependencies for the project I'm working on.
Are you saying 4+ supports this feature? 😁
I'm using version 6.5.0 and it doesn't seem to support this still. Would be a useful one for us