This example uses next-localization to provide a SSR, SSG, CSR compatible i18n solution.
In next.config.js you can configure the locales and routing strategy.
- Run
yarn linkin the root directory. - Run
yarn buildin the root directory. - Run
yarnhere to update thenext-localizationpackage with the latest updates. - Run
yarn devhere to run the application. - Repeat step 2) if you want to update
next-localization.