silverwolf-x's picture
|
download
raw
1.17 kB
# 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
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/i18n-routing&project-name=i18n-routing&repository-name=i18n-routing)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init), [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/), or [pnpm](https://pnpm.io) 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](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/app/building-your-application/deploying)).

Xet Storage Details

Size:
1.17 kB
·
Xet hash:
636397abf3297ecf86b07f5c80685fd31d9b9f47e7b9eeda8535b063d22ef905

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.