[WIP] workers works! (lol) pages+migration todo
This commit is contained in:
1 parent
45d86424b2
commit
e050065a3c
15 files changed
+329
-154
No files matched your search
+7
-7
@@ -1,8 +1,8 @@
|
||||
import i18n from 'i18next';
|
||||
import { initReactI18next } from 'react-i18next';
|
||||
import LanguageDetector from 'i18next-browser-languagedetector';
|
||||
import en from '../locales/en/common.json';
|
||||
import zhCN from '../locales/zh-CN/common.json';
|
||||
import i18n from 'i18next'
|
||||
import { initReactI18next } from 'react-i18next'
|
||||
import LanguageDetector from 'i18next-browser-languagedetector'
|
||||
import en from '../locales/en/common.json'
|
||||
import zhCN from '../locales/zh-CN/common.json'
|
||||
|
||||
i18n
|
||||
.use(LanguageDetector)
|
||||
@@ -20,6 +20,6 @@ i18n
|
||||
detection: {
|
||||
order: ['navigator'],
|
||||
},
|
||||
});
|
||||
})
|
||||
|
||||
export default i18n;
|
||||
export default i18n
|
||||
Reference in new issue
Block a user