Awesome, I was struggling to implement i18n with Unit Test framework Vitest. After completing this tutorial, I am able to successfully implement it. Thanks a lot.
Thank you for a great tutorial! One more small addition. If you need to setup some default language in createI18n config you we can add, for example, locale: 'de' to setup the global locale in app.
Great tutorial. Thank you. However i am able to use {{ t("hi") }} only inside the App.vue. If i try to use it in another component i get error: runtime-core.esm-bundler.js?5c40:509 TypeError: _ctx.t is not a function. How can i make it available to all components i use in my app?