#Next.js + next-i18next
5 messages · Page 1 of 1 (latest)
@proud wharf I use Storybook with react-i18next which is on the client side feature complete. So I modified the config for the Storybook side to use all imports from react-i18next and only in NextJS I use the next-i18next config
@brave mango would you be able to share some code ? Would be much appreciated 🙏
are you using this addon ? https://storybook.js.org/addons/storybook-react-i18next/
@proud wharf yes you can use that plugin. I don't have any public repo to share, but its mainly exactly the docs of the addon. You'd just use everywhere inside the application code import {useTranslation} from "react-i18next" instead of next-i18next - than you can share all components.