2 points · by tsuyoshi_k · 1y ago · 2 comments
It’s also used in full-scale production projects like OS Yamato, a poetic multi-language web OS supporting Japanese, Chinese, Spanish, and French.
import { useI18n } from 'vue-i18n' const { locale } = useI18n()
you can switch languages easily in your app.