-
Notifications
You must be signed in to change notification settings - Fork 32
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
does i18n with named parameters work in .vue template? #184
Comments
what library ? nuxt ? or compiler ? |
Hey @Flowko, thanks for your reply. I tried both nuxt and compiler, and the results are the same. And I also tried the same message outside of vue template:
It works fine in this way. |
okay thanks, will take a look |
yeah, this seems to be an issue from the i18n library, as it doesnt work with the way the compiler works, will open an issue on their repo and see how to resolve this! |
we just merged a new project rewrite, please do check the docs and the updated logic https://vuemail.net/ |
Hey,
I just tried something like this:
And the
greeting
message is something likeHi, {username}
, and I expect the result would beHi, abc
, but I can only getHi,
.It seems the
$t
with named parameters is not work in vue template?The text was updated successfully, but these errors were encountered: