refactor: use lazy loading for localization files

This commit is contained in:
pa
2025-11-18 20:59:41 +09:00
committed by Natsumi
parent fdeb8fa38f
commit 0bc9980cae
19 changed files with 51 additions and 52 deletions

View File

@@ -1,6 +1,8 @@
import { createI18n } from 'vue-i18n';
import * as localizedStrings from '../localization/localizedStrings';
import { getLocalizationStrings } from '../localization/index.js';
const localizedStrings = await getLocalizationStrings();
const i18n = createI18n({
locale: 'en',