Next.js Discord

Discord Forum

Incremental migration to app router and internationalization

Unanswered
Birman posted this in #help-forum
Open in Discord
Avatar
BirmanOP
I am trying to migrate my app to app router.
When trying to implement the approach described in https://nextjs.org/docs/app/building-your-application/routing/internationalization
I found that it only works if next.config.js doesn't contain i18n settings.
But if you remove these settings, then i18n for old pages stops working.
How can I solve this situation so that I can migrate some pages to the app router with i18n without breaking old pages?

2 Replies

Avatar
Gray-crowned Yellowthroat
following because I have encountered the same and would love to know if there's an answer.
Avatar
joulev
This is a very good question and as far as I know the answer is no… i18n just completely breaks the app router so there is just no way to combine them