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 link
in the root directory. - Run
yarn build
in the root directory. - Run
yarn
here to update thenext-localization
package with the latest updates. - Run
yarn dev
here to run the application. - Repeat step 2) if you want to update
next-localization
.