Aral Roca Gomez
Aral Roca Gomez
Here there is an example with Webpack 5: https://github.com/vinissimus/next-translate/tree/master/examples/complex
In Next.js 11 your config should work.
It seems a limitation that Next.js has made (no idea why), I see that it doesn't allow to make requests to `/en/api/endpoint` either, it has to be `/api/endpoint`... Luckily the...
It's not the best solution, but If you save the `NEXT_LOCALE` on `document.cookie` you can use `req.cookies.NEXT_LOCALE` https://nextjs.org/docs/advanced-features/i18n-routing#leveraging-the-next_locale-cookie
@pramod-bhandarkar if you replace ```js module.exports = withPlugins([nextTranslate], nextConfig); ``` to ```js module.exports = nextTranslate(nextConfig); ``` still not working?
@pramod-bhandarkar what version of Next.js and next-translate do you use?
No idea. I tried and it works well. I can't reproduce your issue. If you can share your project or an example repo with the error it would be great...
I think a good option is to use the rewrites feature of Next.js
@iksent @xcrzx It may be interesting to add it in the future. I note it for 1.1!
I don't know your code, maybe with an example of what you have it would be easier for me to help you. But if the RTL is controlled by CSS,...