首页/AI 前端工程/next-intl-add-language
N

next-intl-add-language

by @githubv
4.5(293)

为Next.js + next-intl应用程序添加新语言,实现国际化支持。

nextjsnext-intlinternationalization-(i18n)react-localizationGitHub
安装方式
npx skills add https://github.com/github/awesome-copilot --skill next-intl-add-language
compare_arrows

Before / After 效果对比

1 组
使用前

为Next.js应用添加新语言过程复杂,容易出错,影响国际化进度。这导致应用无法快速支持多语言,限制了用户群体。

使用后

简化为Next.js + next-intl应用添加新语言的流程。快速实现国际化支持,扩大应用用户群体,提升全球竞争力。

SKILL.md

This is a guide to add a new language to a Next.js project using next-intl for internationalization,

  • For i18n, the application uses next-intl.
  • All translations are in the directory ./messages.
  • The UI component is src/components/language-toggle.tsx.
  • Routing and middleware configuration are handled in:
    • src/i18n/routing.ts
    • src/middleware.ts

When adding a new language:

  • Translate all the content of en.json to the new language. The goal is to have all the JSON entries in the new language for a complete translation.
  • Add the path in routing.ts and middleware.ts.
  • Add the language to language-toggle.tsx.

用户评价 (0)

发表评价

效果
易用性
文档
兼容性

暂无评价

统计数据

安装量9.3K
评分4.5 / 5.0
版本
更新日期2026年10月7日
对比案例1 组

用户评分

4.5(293)
5
23%
4
51%
3
23%
2
2%
1
0%

为此 Skill 评分

0.0

兼容平台

🔧Claude Code
🔧OpenClaw
🔧OpenCode
🔧Codex
🔧Gemini CLI
🔧GitHub Copilot
🔧Amp
🔧Kimi CLI

时间线

创建2026年3月16日
最后更新2026年10月7日
🎁 Agent 知识卡片
调研问卷