Newsletter
Join the Community
Subscribe to our newsletter for the latest news and updates
This template shows how to redirect users based on i18n configuration.

Next.js starter using React-Table and Chakra UI for building powerful data tables.

Publish personal notes, docs, or a blog with this Eleventy template featuring wikilinks, backlinks, and search.

TypeScript 3 monorepo example using Next.js, Yarn workspaces, and a shared React component package.

Default Gatsby starter with TypeScript, ESLint, Prettier, and pre-configured Gatsby plugins for images and PWA.

Vue.js app that can be deployed to Vercel with zero configuration.
i18n in Edge Middleware is a Next.js template from Vercel that demonstrates how to use Edge Middleware to redirect users to localized content based on an i18n configuration.
This template is an example project from the vercel/examples repository that shows how to perform internationalization (i18n) redirects at the edge using Next.js middleware. It takes an i18n configuration with supported locales and a default locale as input, and outputs HTTP redirects that send visitors to the language-appropriate path. The template runs on Next.js and is designed for deployment on Vercel, with a one-click deploy option and a live demo available at https://middleware-i18n.vercel.app.
pnpm create next-app --example https://github.com/vercel/examples/tree/main/edge-middleware/i18n.