-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
Improve interpolation #1952
Comments
This is interesting! we need to more discuss for syntax |
It seems the proposal is suggesting a syntax like Feel free to reach me out if you need me for the discussions 👌🏻 |
Clear and concise description of the problem
Hi!
I'm using vue-i18n for my Nuxt project, and be used to use react-i18next for my React Native app. And I faced a significant difference between them regarding interpolation. Currently, when we want to have something such as
, we need two distinct translations. This cause issues in the translation process: it requires two separate keys, and doesn't allow automated translation to invert words when needed (in french, it would be "Nom de famille", so "Family" and "name" would be revert).
Suggested solution
Such as in react-i18next, it would be useful to have a syntax as
, in order to let automated translation translate the content easily, and just have something as
in our code. The output would be
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: