我想在我的Gatsby项目中设置i18n。 我一步一步地遵循了这个教程: https://www.gatsbyjs.org/blog/2017-10-17-building-i18n-with-gatsby/ 首先,我下载所需的软件包: npm i -S i18next i18next...
我需要在我的中间件逻辑中进行翻译(import { Middleware } from 'redux'),但我无法使用useTranslation钩子(import { useTranslation } from 'react-i18next')。你通常如何解决这样的情况? 错误信息:N/A...