balibabu
fix: #209 after saving the knowledge base configuration, jump to the dataset page (#212)
badd5fe
import i18n from 'i18next'; | |
import { initReactI18next } from 'react-i18next'; | |
import translation_en from './en.json'; | |
import translation_zh from './zh.json'; | |
const resources = { | |
en: translation_en, | |
zh: translation_zh, | |
}; | |
i18n.use(initReactI18next).init({ | |
resources, | |
lng: 'en', | |
interpolation: { | |
escapeValue: false, | |
}, | |
}); | |
export default i18n; | |