diff --git a/public/locales/en/translation.json b/src/assets/locales/en/translation.json similarity index 100% rename from public/locales/en/translation.json rename to src/assets/locales/en/translation.json diff --git a/public/locales/ja/translation.json b/src/assets/locales/ja/translation.json similarity index 100% rename from public/locales/ja/translation.json rename to src/assets/locales/ja/translation.json diff --git a/public/locales/ko/translation.json b/src/assets/locales/ko/translation.json similarity index 100% rename from public/locales/ko/translation.json rename to src/assets/locales/ko/translation.json diff --git a/src/utils/i18n.ts b/src/utils/i18n.ts index f63a982..ed23426 100644 --- a/src/utils/i18n.ts +++ b/src/utils/i18n.ts @@ -4,9 +4,9 @@ import i18n from "i18next"; import LanguageDetector from "i18next-browser-languagedetector"; import Backend from "i18next-http-backend"; -import translationEN from "../../public/locales/en/translation.json"; -import translationJA from "../../public/locales/ja/translation.json"; -import translationKO from "../../public/locales/ko/translation.json"; +import translationEN from "@assets/locales/en/translation.json"; +import translationJA from "@assets/locales/ja/translation.json"; +import translationKO from "@assets/locales/ko/translation.json"; export const resources = { en: {