Skip to main content

next-intl-add-language

Add new language to a Next.js + next-intl application

Jump to install

Source facts

Repository
github/awesome-copilot
Last source activity
February 24, 2026 at 03:39
Detected SKILL.md language
English
Stars
39,255
Forks
4,987

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
next-intl-add-language
description
Add new language to a Next.js + next-intl application
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`.
View on GitHub