next-translate
next-translate copied to clipboard
Rewrites doesn't work
What version of this package are you using? 2.5.3
What operating system, Node.js, and npm version? Windows 11. Node v18.14.1. NPM 9.3.1
What happened? It still shows the source URL
What did you expect to happen? I expected it to redirect to the destination URL.
When using regular Next.JS with the APP router without next-translate it works but when using next-translate my redirects doesn't work.
You need to take account the locale. More info: https://nextjs.org/docs/app/api-reference/next-config-js/rewrites#rewrites-with-i18n-support