diff --git a/web/plugins/i18n.ts b/web/plugins/i18n.ts index 92126de02..1d770b677 100644 --- a/web/plugins/i18n.ts +++ b/web/plugins/i18n.ts @@ -1,18 +1,16 @@ import { createI18n } from 'vue-i18n'; +import en_US from '@/locales/en_US.json'; + export default defineNuxtPlugin(({ vueApp }) => { const i18n = createI18n({ legacy: false, globalInjection: true, - locale: 'ja', + locale: 'en_US', + fallbackLocale: 'en_US', messages: { - en: { - hello: 'Hello!' - }, - ja: { - hello: 'こんにちは!' - } - } + en_US, + }, }); vueApp.use(i18n);