请帮我。
错误 -
i18next::pluralResolver:您的环境似乎与 Intl API 不兼容,请使用 Intl.PluralRules 填充。将回退到兼容性JSON v3 格式处理
代码 -
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;
Run Code Online (Sandbox Code Playgroud)