File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed
Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change 11import { DEFAULT_LOCALE , LOCALES } from "./src/config/i18nConfig.js" ;
2+ import en from "./public/locales/en/translation.json" assert { type : 'json ' } ;
3+ import ja from "./public/locales/ja/translation.json" assert { type : 'json ' } ;
4+ import ko from "./public/locales/ko/translation.json" assert { type : 'json ' } ;
5+ import zh from "./public/locales/zh/translation.json" assert { type : 'json ' } ;
26
37export default {
48 defaultLocale : DEFAULT_LOCALE ,
@@ -8,5 +12,13 @@ export default {
812 showDefaultLocale : true ,
913 i18nextServer : {
1014 debug : true ,
11- }
15+ resources : {
16+ en : { translation : { ...en } } ,
17+ ja : { translation : { ...ja } } ,
18+ ko : { translation : { ...ko } } ,
19+ zh : { translation : { ...zh } } ,
20+ } ,
21+ ns : [ 'translation' ] ,
22+ defaultNS : 'translation'
23+ } ,
1224} ;
You can’t perform that action at this time.
0 commit comments