PlugWiki

next-intl add language skill for Claude: add a locale to a Next.js app

Makes Claude add a new language to a Next.js app that uses next-intl by translating en.json and wiring the routing and toggle.

Installs
9.4K
on skills.sh
Stars
40.7K
on GitHub
Updated
Oct 2026
last repo commit

The skill is a short guide. Claude translates every entry of en.json into the new language, adds the language path in routing.ts and middleware.ts, and adds the language to the language toggle component.

It assumes a specific layout: translations in ./messages, the toggle at src/components/language-toggle.tsx, and routing in src/i18n/routing.ts and src/middleware.ts. If your project is laid out differently, tell Claude the real paths. The folder is one file with no scripts.

Good for

  • Next.js developers who use next-intl and need another language
  • Projects that keep translations in a ./messages folder
  • Teams whose layout matches the file paths named in the skill

Install next-intl-add-language

Claude Code

  1. 1

    Copy this prompt.

    Install the next-intl-add-language skill in Claude Code. Run this command:
    
    npx skills add https://github.com/github/awesome-copilot --skill next-intl-add-language
    
    Then check that it loaded and tell me how to use it.
  2. 2

    Paste it into Claude Code. It shows the change and asks before running it.

Requires Node.js.

From its listing on skills.sh. Source.

What's in the skill

When it loads

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

Key facts

License
MIT
Installs on skills.sh
9,381 (Nov 2, 2026)
Last repo commit
Oct 30, 2026

What it includes

  • Translates every entry into the new language

    Claude translates all the content of en.json so every JSON entry exists in the new language, and saves it in the messages folder.

    Try: “Add French to this Next.js app with next-intl.”

    Write · Translate en.json

  • Adds the new language path

    Adds the language to src/i18n/routing.ts and src/middleware.ts.

    Write · Update routing.ts and middleware.ts

  • Adds the language to the toggle

    Adds the new language to src/components/language-toggle.tsx.

    Write · Update language-toggle.tsx

From the official docs

Permissions

Low risk

What it can do

  • Read your data
  • Create and change things
  • Delete things
  • Read-only mode

Watch out for

  • It edits your source files

    It changes message files, routing.ts, middleware.ts and language-toggle.tsx. Commit first and review the diff, especially the translations. github.com

Security advisories

No published security advisories as of Nov 2, 2026.

Technical details
Turning on read-onlyNo read-only mode. Use version control.
Sign-in and keysNo key or account.
Scopes
  • Edits your translation files, routing, middleware and toggle component

Questions

What does this skill do?

It tells Claude how to add a language to a Next.js project that uses next-intl: translate en.json, register the language in routing.ts and middleware.ts, and add it to the language toggle.

How do I install it?

Use the install box at the top of this page. The skill is one file.

Will it work if my files are in other places?

SKILL.md names fixed paths (./messages, src/i18n/routing.ts, src/middleware.ts, src/components/language-toggle.tsx). If yours differ, give Claude the real paths in your prompt.

Are the translations reliable?

Claude writes them, so have a native speaker check anything user-facing. SKILL.md asks for a complete translation of en.json and says nothing about review.

Is it safe?

The skill is one text file with no scripts. It asks Claude to edit several files in your project, so commit your work first and review the diff.

Information

updated Nov 2, 2026

Folder
skills/next-intl-add-language

github/awesome-copilotskills.sh

Sources

Docs, issue trackers and discussions this page is built from.

Show all 1
  1. next-intl-add-language SKILL.md · github.com

Updated Nov 2, 2026.