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 working on a vue3 components library plugin. My components contain text in various places. How would i deal with i18n?
Should i always instantiate a new vue-i18n instance in my plugins install function or should i somehow check if there's already one and then somehow add the translation messages to the current instance?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm working on a vue3 components library plugin. My components contain text in various places. How would i deal with i18n?
Should i always instantiate a new vue-i18n instance in my plugins install function or should i somehow check if there's already one and then somehow add the translation messages to the current instance?
What would be the best approach to this?
Beta Was this translation helpful? Give feedback.
All reactions