import i18n from "i18next";
import { initReactI18next } from "react-i18next";
import translationEN from "./locales/en.json" with { type: "json" };
const resources = {
    en: {
        code: "en",
        name: "English",
        translation: translationEN,
    },
};
i18n
    .use(initReactI18next)
    .init({
    resources,
    fallbackLng: "en",
    debug: false,
    interpolation: {
        escapeValue: false,
    },
})
    .catch((e) => {
    console.error(e);
});
export { i18n };
export default i18n;
//# sourceMappingURL=index.js.map