next-intl-add-language
Helps your agent add a new language to a Next.js project using next-intl. This allows the application to support multiple languages.
What it does
This tool helps add a new language to your website built with Next.js and next-intl. It ensures all necessary translations and configurations are updated so your site can be displayed in another language.
When to use it
- ✓When you want to translate your website into a new language.
- ✓If you need your website to support multiple languages.
- ✓When launching your site in a new international market.
Example of what to ask your AI
“Add Spanish language to my website.”
Want more? Open the sections below.
How to use
The easiest way: copy the message below and paste it into Claude, ChatGPT, Cursor or any AI. It reads the skill and follows the instructions.
Skill link
Ready-to-paste message
How it works
The tool finds all English texts, translates them into the new language, and updates configuration files so the website recognizes and uses the new language.
Installation
Easiest way: copy the skill link and paste it into Claude, ChatGPT or Cursor asking it to follow the instructions.
In the terminal (Claude Code, Codex, Cursor), in your project folder:
npx skills add github/awesome-copilot --skill next-intl-add-languageOr download just the file:
curl -L https://raw.githubusercontent.com/github/awesome-copilot/main/skills/next-intl-add-language/SKILL.md -o SKILL.mdTechnical content (original SKILL.md)
Original text by the author, straight from GitHub.
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.tssrc/middleware.ts
When adding a new language:
- Translate all the content of
en.jsonto 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.tsandmiddleware.ts. - Add the language to
language-toggle.tsx.
FAQ
Where are the translations stored?
Translations are stored in the './messages' folder of your project.
Which files do I need to edit to add a new language?
You will need to edit the routing and middleware configuration files, as well as the language toggle component.
Do I need to translate everything?
Yes, the goal is to translate all entries from the English language file for a complete translation.
Details
Original description by the author
Add new language to a Next.js + next-intl application
repo: github/awesome-copilot
Popularity
- GitHub stars
- 40k
- Ranking position
- #5251
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
Helps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
github/awesome-copilot
acreadiness-assess
Enables your agent to assess a project's readiness for AI and generate a report. It's useful for understanding how well a project is prepared to use AI tools.
github/awesome-copilot
acreadiness-generate-instructions
Helps your agent create instructions for AI tools based on an assessment. It's useful for improving how AI interacts with code and closing identified gaps.
github/awesome-copilot
acreadiness-policy
Enables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
github/awesome-copilot
Similar skills
api-connector-builder
Has your agent build new API connections following the existing pattern. Use when you need to add one more integration without creating a new way of doing things.
affaan-m/ECC
api-design
Helps your agent design REST APIs following best practices. It's useful for defining how APIs communicate, how errors are shown, and how to organize data.
affaan-m/ECC
backend-patterns
Helps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.
affaan-m/ECC