react-i18next

    1热度

    1回答

    我想在使用i18next-fetch-backend的客户端上使用react-i18next,即使我可以通过浏览器访问JSON翻译文件,在init例行程序中处理。 为了记录,我使用create-react-app作为我的前端React应用程序的基础,如果这样做有所不同,并且到目前为止我所有的测试都在本地主机上(使用localhost上的React应用程序:和localhost:8000上的“服务器

    1热度

    1回答

    我使用的反应,i18next在我reactJS应用 是这样的可能: i18n .use(LanguageDetector) .init({ // we init with resources resources: { en: {en}, de: { application: { name: '

    0热度

    1回答

    我有很多的功能是这样的: export function dialogContent() { const { t, i18n } = this.props; switch (this.state.dialogHandlerVariable) { //Delete changeLog case 0: return (<div> {t("di