We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
On this documentation page we know how to extend the default type of translation using declare module react-i18next` https://react.i18next.com/latest/typescript
declare module
However there is no description on how to extend the interpolation. This is doable since there is template literals
And this guy done it : https://stackoverflow.com/a/58308279 (Look at his point n3 )
Having a way to have a nice interpolation type associated with every keys.
The text was updated successfully, but these errors were encountered:
Hey @adelin-b, it's not possible to get literal values from JSON files yet. #1193 (comment)
Once it is possible, we can look into it.
Sorry, something went wrong.
No branches or pull requests
Documentation issue
On this documentation page we know how to extend the default type of translation using
declare module
react-i18next`https://react.i18next.com/latest/typescript
However there is no description on how to extend the interpolation. This is doable since there is template literals
And this guy done it : https://stackoverflow.com/a/58308279 (Look at his point n3 )
Motivation
Having a way to have a nice interpolation type associated with every keys.
The text was updated successfully, but these errors were encountered: