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
I'm looking to move from vue-i18n to this library. We already use vue-i18n quite extensively throughout our app so it'd be nice to have both libraries installed together to slowly convert everything to fluent.
My problem is that we're using $t from vue-i18n throughout our app which conflicts with the same function from fluent-vue meaning we'd have to spend a lot of time to convert everyone in one go.
Suggested solution
Maybe a way to rename the globals or a flag that that does this for you? It would be fairly easy to find and replace over the app to switch it back once everything was migrated.
I haven't played around with vue plugins before but I'll give it a go! I am finishing for the day soon though so it's unlikely I'll have anything ready to go before I leave.
Edit: I've had a look through and I haven't got tests sorted yet & I'm not sure of the best way to update the component name in component.ts (if that's required?), but yeah it does look pretty easy!
Clear and concise description of the problem
I'm looking to move from vue-i18n to this library. We already use vue-i18n quite extensively throughout our app so it'd be nice to have both libraries installed together to slowly convert everything to fluent.
My problem is that we're using
$t
from vue-i18n throughout our app which conflicts with the same function from fluent-vue meaning we'd have to spend a lot of time to convert everyone in one go.Suggested solution
Maybe a way to rename the globals or a flag that that does this for you? It would be fairly easy to find and replace over the app to switch it back once everything was migrated.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: