YUNOVA · Vue.js · Module 13: Production Vue apps
Internationalisation with vue-i18n
Internationalisation with vue-i18n
Key points
- vue-i18n stores translations as messages per language.
- Use $t('key') or useI18n() to show translated text.
- Switch the locale at runtime to change language.