Closed FleetAdmiralJakob closed 4 months ago
You can configure it inside next.config.js
: https://nextjs.org/docs/pages/building-your-application/routing/internationalization
And how to set a fallback lang? This example is only for the default locale ig.
You can set the fallbackLocale
prop on I18nProvider
: https://github.com/QuiiBz/next-international/blob/a049386f43bf2c42a2b3ed9b8d3e82b42ff9eebe/examples/next-pages/pages/_app.tsx#L8
See the documentation here.
Disclaimer: I think this question and others like #347 would fit better in a discussion but because I can't open a discussion in this repo I created an issue.
I'm new and come from next-i18next there you can define the default lang and fallback lang like this:
In the app router for next-international there you can define the default and fallback lang but not for the pages router. (At least it is not shown in the documentation),