Add new language to a Next.js + next-intl application
f11a4e4This is a guide to add a new language to a Next.js project using next-intl for internationalization,
./messages.src/components/language-toggle.tsx.src/i18n/routing.tssrc/middleware.tsWhen adding a new language:
en.json to the new language. The goal is to have all the JSON entries in the new language for a complete translation.routing.ts and middleware.ts.language-toggle.tsx.Copy a source-pinned command for your client. You run it yourself.
Destination: .claude/skills/next-intl-add-language · pinned to the source commit
# Run from your project root
git clone https://github.com/github/awesome-copilot.git .skillboard-tmp
git -C .skillboard-tmp checkout f11a4e441c5ff061b4f8ae37952be8c602e4034e
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/next-intl-add-language" ".claude/skills/"
rm -rf .skillboard-tmpReview the source before running. This copies files into your project; it is not a one-click install and does not verify runtime safety.
sudo apt update && sudo apt install -y gitnpm install -g @anthropic-ai/claude-code# Run from your project root
git clone https://github.com/github/awesome-copilot.git .skillboard-tmp
git -C .skillboard-tmp checkout f11a4e441c5ff061b4f8ae37952be8c602e4034e
mkdir -p ".claude/skills"
cp -r ".skillboard-tmp/skills/next-intl-add-language" ".claude/skills/"
rm -rf .skillboard-tmpDestination: .claude/skills/next-intl-add-language
Scanner static-checks@0.1.0 · commit f11a4e441c5f. Static checks cannot prove runtime safety – review the source and the exact diff before installing. How checks work.
No static rules matched. This is not a safety guarantee.