Please help me.
Error -
i18next::pluralResolver: Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling
Code -
import i18n from "i18next";
import english from './englist.json';
import thai from './thai.json';
import { initReactI18next } from "react-i18next";
i18n.use(initReactI18next).init({
lng:'th',
fallbackLng: 'en',
resources:{
en:english,
th:thai
},
interpolation: {
escapeValue: false
},
react:{
useSuspense:false,
}
});
export default i18n;
Look like an issue on android.
i18n.use(initReactI18next).init({
compatibilityJSON: 'v3', // <--- add this line
lng:'th',
fallbackLng: 'en',
resources:{
en:english,
th:thai
},
interpolation: {
escapeValue: false
},
react: {
useSuspense:false,
}
});
It should resolve your issue. You might need to check this.
Have fun.