Back to Next Js

Internationalized Routing

examples/i18n-routing/README.md

16.2.51.1 KB
Original Source

Internationalized Routing

Next.js doesn't support internationalized routing in app directory out of the box. But you can easily implement it yourself. This example shows how to implement internationalized routing on the Edge.

Deploy your own

How to use

Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:

bash
npx create-next-app --example i18n-routing i18n-routing-app
bash
yarn create next-app --example i18n-routing i18n-routing-app
bash
pnpm create next-app --example i18n-routing i18n-routing-app

Deploy it to the cloud with Vercel (Documentation).