add-locale

Add ISO 639-1 language locales to Next.js apps with Strapi integration.

5|4|Updated Jan 30, 2026
One-click install
npx skills add https://github.com/strapi/website --skill add-locale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-locale
Source: https://github.com/strapi/website/tree/main/.agents/skills/add-locale
Command: npx skills add https://github.com/strapi/website --skill add-locale

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of adding new languages to your application, making it accessible to a wider audience.

Core Features & Use Cases

  • Internationalization Setup: Automates the creation of locale files and updates routing configurations.
  • Strapi Integration: Guides users through enabling new locales within the Strapi admin panel.
  • Use Case: A growing SaaS company wants to offer its platform in Spanish. This Skill helps them quickly set up the necessary files and configurations to support the new es locale.

Quick Start

Add the 'de' locale for German to your application.

Frequently Asked Questions about add-locale

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I add a new language locale to a Next.js app with Strapi?

To add a new locale to a Next.js app with Strapi, you create translation files, update routing configurations in navigation.ts, and enable the locale in the Strapi admin internationalization settings.

What is needed to configure internationalization routing for Next.js and Strapi?

Configuring internationalization routing requires updating the navigation.ts file with the new locale's ISO 639-1 code and a human-readable name, then adjusting Strapi admin settings to support the target language.

Can I use ISO 639-1 codes to set up i18n in Next.js?

Yes, you can use ISO 639-1 locale codes to set up i18n in Next.js. The locale codes are used to manage translation file creation and update routing configurations for internationalization.

Does Strapi integration automatically update navigation routing when adding a locale?

Strapi integration does not automatically update navigation routing. You must manually update the navigation.ts file in your Next.js application and separately configure the new locale within the Strapi admin panel.

Why does my Next.js translation file not display the new Strapi locale?

Your Next.js translation file may not display the new Strapi locale if the routing configuration in navigation.ts is missing the new ISO 639-1 code or if the internationalization setting is not enabled in the Strapi admin panel.

What is the best way to expand my application's reach globally using Strapi?

The best way to expand your application's reach globally is by adding new language locales. This involves creating translation files, updating Next.js routing, and enabling internationalization in the Strapi backend.