·next-intl-app-router
</>

next-intl-app-router

liuchiawei/agent-skills

通过基于区域设置的路由为 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 项目中添加或更改 i18n、区域设置路由、翻译、next-intl 插件、中间件/代理或消息文件时使用。

42安装·3热度·@liuchiawei

安装

$npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router

SKILL.md

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.

Root layout does not wrap with NextIntlClientProvider; only app/[locale]/layout.tsx does.

通过基于区域设置的路由为 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 项目中添加或更改 i18n、区域设置路由、翻译、next-intl 插件、中间件/代理或消息文件时使用。 来源:liuchiawei/agent-skills。

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router
分类
</>开发工具
认证
收录时间
2026-02-05
更新时间
2026-02-18

快速解答

什么是 next-intl-app-router?

通过基于区域设置的路由为 Next.js App Router 配置和使用 next-intl。在 Next.js App Router 项目中添加或更改 i18n、区域设置路由、翻译、next-intl 插件、中间件/代理或消息文件时使用。 来源:liuchiawei/agent-skills。

如何安装 next-intl-app-router?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/liuchiawei/agent-skills --skill next-intl-app-router 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/liuchiawei/agent-skills