Next Intl App Router
Setup and usage guide for next-intl with prefix-based locale routing in Next.js App Router projects.
- CCM score
- 52 of 100
- skills.sh installs
- 629
- GitHub stars
- 2
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers wiring the plugin, routing and request config, proxy matcher, navigation helpers, and locale layouts
- Includes a file layout diagram, a checklist, and copy-paste examples under
examples/for each file - Enforces
setRequestLocaleon every locale layout and page, and validates locales withhasLocalebeforenotFound() - Designed for Next.js 16 App Router projects that add or change i18n, translations, or message files
Install
$ npx -y skills add liuchiawei/agent-skills --skill next-intl-app-router -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
next-intl (App Router)
Setup and usage of next-intl with prefix-based locale routing (e.g. /en/about, /ja/about). Use this skill in any Next.js App Router project.
Example code: Copy-paste examples live in this skill's examples/ folder. See examples/README.md for where each file goes in your project.
File layout
Keep this structure:
├── messages/
│ ├── en.json
│ ├── ja.json
│ └── ...
├── next.config.ts
└── src/
├── i18n/
│ ├── request.ts
│ ├── routing.ts
│ └── navigation.ts
├── proxy.ts # Next.js 16+ (was middleware.ts)
└── app/
├── layout.tsx # Root layout, no NextIntlClientProvider here
└── [locale]/
├── layout.tsx
├── page.tsx
└── ...
Root layout does not wrap with NextIntlClientProvider; only app/[locale]/layout.tsx does.
1. Next config
Wire the plugin (default path ./i18n/request.ts):
// next.config.ts
import type { NextConfig } from "next";
import createNextIntlPlugin from "next-intl/plugin";
Details
- Repository
- github.com/liuchiawei/agent-skills
- Category
- Frontend & UI Code
- First seen
- Jun 3, 2026
Questions
What does the next-intl-app-router skill do?
next-intl-app-router configures next-intl for Next.js App Router projects with prefix-based locale routing, such as /en/about and /ja/about. It covers the next config plugin, routing and request setup, the proxy file, locale layouts, and loading translations from message files.
How do I install the next-intl-app-router skill?
Run npx -y skills add liuchiawei/agent-skills --skill next-intl-app-router -y in your project. Once installed, next-intl-app-router lets the agent add or change i18n, locale routing, translations and message files in your Next.js project.
Where does next-intl-app-router sit in the Frontend & UI Code category?
next-intl-app-router is listed in the Frontend & UI Code category on Claude Marketplaces. Its own focus is internationalization, which sets it apart from the React and design skills around it in that category.
When should I use the next-intl-app-router skill?
Use next-intl-app-router when adding or changing i18n, locale routing, translations, the next-intl plugin, middleware or proxy, or message files in a Next.js App Router project. It guides the file layout, locale layouts and static rendering setup for those tasks.
Similar to Next Intl App Router
More Frontend & UI Codefrontend-internationalization-best-practicessergiodxa/agent-skills196 installsGuides React Router framework mode i18n with remix-i18next, covering middleware, locales, and language switching.
next-intl-add-languagegithub/awesome-copilot9.4K installsStep-by-step guide for adding a new language to a Next.js app that uses next-intl.
internationalization-i18nsecondsky/claude-skills469 installsMultilingual support kit covering i18next, Intl formatting, pluralization, and RTL layout patterns.
i18n-localizationdavila7/claude-code-templates573 installsReference guide for internationalization and localization covering translation keys, locale file layout, and RTL support.
nextjs-app-router-patternswshobson/agents35.2K installsComprehensive App Router patterns for Next.js 14+ covering Server Components, streaming, and data fetching.
nextjs-app-routergiuseppe-trisciuoglio/developer-kit4.2K installsModern App Router guide for Next.js 16+ covering Server Components, Server Actions, caching, and routing conventions.