import i18n from 'i18next';
import { initReactI18next } from 'react-i18next';
import enJSON from './en.json';

const resources = {
  en: { translation: enJSON },
};

i18n.use(initReactI18next).init({
  resources,
  lng: 'en',
  fallbackLng: 'en',
  react: {
    useSuspense: false,
  },
  interpolation: {
    escapeValue: false,
  },
});
