You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No need, there's no way to use per-component translations with the Options API currently.
Describe the bug
Vue3 (and by extension Nuxt3) officially supports both the Options API and Composition API.
This module should provide per-component translations with the Options API, like we had for Nuxt2.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered:
I did find an undocumented component <i18n-t></i18n-t> that actually seems to work, but it's not a good alternative, as it would mean having to change the source code of hundreds of components in a big project.
What I don't fully understand is why the local version of $t is not provided by default? Couldn't we get something like $tl for the locally scoped version of $t?
Environment
Reproduction
No need, there's no way to use per-component translations with the Options API currently.
Describe the bug
Vue3 (and by extension Nuxt3) officially supports both the Options API and Composition API.
This module should provide per-component translations with the Options API, like we had for Nuxt2.
Additional context
No response
Logs
No response
The text was updated successfully, but these errors were encountered: