Replies: 1 comment 15 replies
-
fyi: v7.x was before the major rewrite, that was leveraging the built-in internationalised routing provided by NextJs. |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm working on an older app that's still on Next.js v10.x and
next-i18next
v7.x.I'm in the middle of migrating to Next.js v12.x now, and trying to get a sense of whether I absolutely have to upgrade to a more current
i18next
now or whether I should be able to keep things running on 7.x for awhile, possibly with some light refactoring, and migrate that part later, since there's already plenty of other things that need attention right away as part of the Next.js upgrade.Right now the big sticking point with just upgrading
next-i18next
is the apparent need to add theserverSideTranslations
call to every page since it's a large app (100+ pages). I'm still wrapping my head around our entire 7.x setup, but the current state of things in my local app now on 12.x is that direct-loads of pages seem to get all the required translation files through our old setup, but there are also new 404s for some of the locale.json
files in the console. Client-rendered subsequent page loads in development seem to be missing all their translations.Any getting-started guidance I can get from the community on this is very welcome, thanks.
Beta Was this translation helpful? Give feedback.
All reactions