-
-
Notifications
You must be signed in to change notification settings - Fork 629
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
Options passed in replace
object can't be used as count
for nested translation
#1896
Comments
|
fyi: v22.4.7 should now also fix the replace variable name |
@adrai , |
Yes, that's correct... the replace option was only for the old v1 version... where did you find the information about this old replace option functionality? |
I guess, I saw it somewhere in docs. I use i18next starting with 18 version, probably it was there before. export interface TOptionsBase {
....
/**
* Object with vars for interpolation - or put them directly in options
*/
replace?: any;
....
} |
I see.... v22.4.8 should fix it |
馃悰 Bug Report
Options passed in
replace
object can't be used ascount
value for nested translation. It select proper translation correctly, but doesn't passcount
value.Please check a console output in codesandbox example.
To Reproduce
A codesandbox example.
Your Environment
The text was updated successfully, but these errors were encountered: