Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | 93x 93x 93x 93x 598x | import resources from "i18n/resources";
import i18n from "i18next";
import { initReactI18next } from "react-i18next";
i18n.use(initReactI18next).init({
fallbackLng: "en",
compatibilityJSON: "v3",
debug: process.env.NODE_ENV === "development",
interpolation: {
// React does this by default already
escapeValue: false,
},
resources: {
en: resources,
},
ns: ["global"],
});
export default i18n;
|