chore: remove i18n.ts unused file
This commit is contained in:
18
src/i18n.ts
18
src/i18n.ts
@@ -1,18 +0,0 @@
|
|||||||
import i18n from 'i18next';
|
|
||||||
import i18nBackend from 'i18next-http-backend';
|
|
||||||
import { initReactI18next } from 'react-i18next';
|
|
||||||
|
|
||||||
i18n
|
|
||||||
.use(i18nBackend)
|
|
||||||
.use(initReactI18next)
|
|
||||||
.init({
|
|
||||||
lng: 'en',
|
|
||||||
interpolation: {
|
|
||||||
escapeValue: false,
|
|
||||||
},
|
|
||||||
backend: {
|
|
||||||
loadPath: `${window.location.origin}/i18n/{{lng}}.json`,
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|
||||||
export default i18n;
|
|
||||||
Reference in New Issue
Block a user