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
https://github.com/APSL/redux-i18n#html-object-as-parameter
When I try to use this functionality I get the [object Object] result.
The text was updated successfully, but these errors were encountered:
Hi, did you find a solution for this issue ?
Sorry, something went wrong.
Hi @shorielov-is , @zagoa. Seems like it doesn't work with dangerouslySetInnerHTML attribute..
Works:
const user = {name: 'World'} const name = <span>{user.name}</span> <div>{context.t('Hello {name}', {name: name})}</div>
Doesn't work (from documentation):
const user = {name: 'World'} const name = <span>{user.name}</span> return <div dangerouslySetInnerHTML={{ __html: context.t('Hello {name}', {name: name}) }}/>
No branches or pull requests
https://github.com/APSL/redux-i18n#html-object-as-parameter
When I try to use this functionality I get the [object Object] result.
The text was updated successfully, but these errors were encountered: