-
-
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trans doesn't work if the first element is a HTML tag #298
Comments
will need to look into this...thank you for reporting and the detailed report. |
please also take not there might be cases where you like to do interpolation using {{numOfItems}} like d6acc24#diff-0753f873921ce05528a0b0d605e92c45R8 |
react-i18next@5.4.0 comes with the new ast parser and should fix this issue - please check if still encounter any issue. thx |
@jamuhl , it works well now! Thanks for the prompt fix for this! |
I'm seeing that the
<Trans>
doesn't work for some cases.Component:
And, here's the locale JSON -
And, here's what I see on the browser -
As you can see, the "Case 2" doesn't work. Am I missing something, or is it a bug?
The text was updated successfully, but these errors were encountered: