0👍
With vue-i18n, you can provide a locale explicitly in your component in german:
https://kazupon.github.io/vue-i18n/api/#vue-injected-methods
$t('yourKey', 'de')
It also works with the directive: https://kazupon.github.io/vue-i18n/api/#v-t
You can load both languages, set english as the default language, and explicitly use german in your special component.
- [Vuejs]-Vue + Font awesome SVG sometimes renders icons twice and gives JS error
- [Vuejs]-Can I use parts of html template of a component in different part in parent component
Source:stackexchange.com