@@ -2,11 +2,11 @@ import i18n from "i18next"
22import { initReactI18next } from "react-i18next"
33
44import translationEN from "./locales/en/translation.json"
5- // import translationES from "./locales/es/translation.json"
6- // import translationDE from "./locales/de/translation.json"
7- // import translationZHCN from "./locales/zh-cn/translation.json"
8- // import translationZHTW from "./locales/zh-tw/translation.json"
9- // import translationJA from "./locales/ja/translation.json"
5+ import translationES from "./locales/es/translation.json"
6+ import translationDE from "./locales/de/translation.json"
7+ import translationZHCN from "./locales/zh-cn/translation.json"
8+ import translationZHTW from "./locales/zh-tw/translation.json"
9+ import translationJA from "./locales/ja/translation.json"
1010
1111i18n . use ( initReactI18next ) // passes i18n down to react-i18next
1212 . init ( {
@@ -20,10 +20,10 @@ i18n.use(initReactI18next) // passes i18n down to react-i18next
2020 } )
2121
2222i18n . addResourceBundle ( "en" , "translation" , translationEN )
23- // i18n.addResourceBundle("es", "translation", translationES)
24- // i18n.addResourceBundle("de", "translation", translationDE)
25- // i18n.addResourceBundle("zh-CN", "translation", translationZHCN)
26- // i18n.addResourceBundle("zh-TW", "translation", translationZHTW)
27- // i18n.addResourceBundle("ja", "translation", translationJA)
23+ i18n . addResourceBundle ( "es" , "translation" , translationES )
24+ i18n . addResourceBundle ( "de" , "translation" , translationDE )
25+ i18n . addResourceBundle ( "zh-CN" , "translation" , translationZHCN )
26+ i18n . addResourceBundle ( "zh-TW" , "translation" , translationZHTW )
27+ i18n . addResourceBundle ( "ja" , "translation" , translationJA )
2828
2929export default i18n
0 commit comments