1b22a39eb1
This is a follow-up to https://github.com/vercel/next.js/pull/18067 adding an example for i18n routing x-ref: https://github.com/vercel/next.js/pull/17370
1.2 KiB
1.2 KiB
Internationalized Routing
This example shows how to create internationalized pages using Next.js and the i18n routing feature. It shows a normal page, a non-dynamic getStaticProps
page, a dynamic getStaticProps
page, and a getServerSideProps
page.
For further documentation on this feature see the documentation here
Deploy your own
Deploy the example using Vercel:
How to use
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example i18n-routing i18n-app
# or
yarn create next-app --example i18n-routing i18n-app
Deploy it to the cloud with Vercel (Documentation).