-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
t
function doesn't work with keyPrefix
and array of keys
#1604
Comments
i18next v22.4.9 should address this |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug Report
t
function doesn't work ifkeyPrefix
is specified and array of keys provided. It fails withmissingKey
error.As far as I understood, this line of code is a reason of that error - https://github.com/i18next/i18next/blob/5bd9ac037867edbb45fcdf9976e3b5ea48f164d5/src/i18next.js#L396
To Reproduce
A codesandbox example
Expected behavior
Translation for
key1
value should be returnedThe text was updated successfully, but these errors were encountered: