next-intl-add-language
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.
Skill link
https://github.com/github/awesome-copilot/blob/main/skills/next-intl-add-language/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Add Spanish language to my website.”
5 new skills a week. 1 minute to read.
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.
Technical 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
- #7308
- License
- MIT
- Updated
- 10/15/2026
Comments
- …
More skills from this repository
acquire-codebase-knowledge
40kHelps your agent understand and document an existing code project. It's useful for onboarding new people or getting an overview of the architecture.
acreadiness-assess
40kEnables 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.
acreadiness-generate-instructions
40kHelps 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.
acreadiness-policy
40kEnables your agent to help define or apply policies for AI project assessment. It's useful for standardizing how projects are evaluated and ensuring compliance.
Similar skills
api-connector-builder
280kHas 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.
api-design
280kHelps 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.
backend-patterns
280kHelps your agent with server-side architecture patterns and database optimization. It's useful for building or reviewing code that runs on the server.