new version next-i18next change locale subpath #1446
-
Hello! I am using next.js 11.1.0 + next-i18next 8.5.3. With the new version of next and i18next, I don't know how to rewrite subpaths. So, I have a multilanguage app. And it's important to have en-GB/en-US/en-AU differences for content. I made configs according to the official readme https://github.com/isaachinman/next-i18next So I have next-i18next.config.js
and next.config.js
The main problem is, I don't know how to rewrite subpaths in the new version. I want that if it detects en-AU it makes subpath au It should be site.com/au and now I have site.com/en-AU |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You will need to raise that concern to the NextJs team directly. The |
Beta Was this translation helpful? Give feedback.
You will need to raise that concern to the NextJs team directly. The
next-i18next
package no longer handles routing at all.