add-locale — community add-locale, strapi-next-monorepo-starter, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Multilingual Agents needing seamless locale integration with Strapi and NextJS This is a ready-to-go starter template for Strapi projects. It combines the power of Strapi, NextJS, Shadcn/ui libraries with Turborepo setup and kickstarts your project development.

notum-cz notum-cz
[0]
[0]
Updated: 3/5/2026

Agent Capability Analysis

The add-locale skill by notum-cz is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Multilingual Agents needing seamless locale integration with Strapi and NextJS

Core Value

Empowers agents to add new languages and locales to applications using Strapi admin config, Next.js i18n routing, and translation files, leveraging Turborepo setup and Shadcn/ui libraries for efficient project development

Capabilities Granted for add-locale

Adding support for new languages in Strapi projects
Configuring Next.js i18n routing for multilingual applications
Validating locale codes and names for ISO 639-1 compliance

! Prerequisites & Limits

  • Requires valid ISO 639-1 locale codes
  • Limited to Strapi and NextJS ecosystems
  • Locale names must be capitalized and free of special characters
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

add-locale

Install add-locale, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

Add a new language/locale to the application. Involves Strapi admin config, Next.js i18n routing, and translation files.

Input Validation

Before proceeding, validate inputs:

  • Locale code: must be valid ISO 639-1 (2 letters, lowercase, e.g. de, fr, sk). Reject uppercase or invalid codes.
  • Locale name: capitalized, no special characters (e.g. German, French, Slovak).

If invalid format provided, ask user to correct before proceeding.

Inputs

Ask the user for:

  • Locale code: ISO 639-1 code (e.g. de, fr, sk)
  • Locale name: human-readable name (e.g. German, French, Slovak)

Steps

1. Create locale translation file

Copy apps/ui/locales/en.json to apps/ui/locales/{locale}.json.

The file structure must match en.json exactly — same keys, translated values. Initially copy as-is and mark values for translation.

Existing locales for reference: en.json, cs.json.

2. Update routing config

Edit apps/ui/src/lib/navigation.ts.

Add the new locale code to the locales array:

typescript
1export const routing = defineRouting({ 2 locales: ["cs", "en", "{locale}"], 3 defaultLocale: "en", 4 localePrefix: "as-needed", 5})

Keep the array sorted alphabetically.

3. Update i18n config (if needed)

The i18n config at apps/ui/src/lib/i18n.ts uses dynamic imports and automatically picks up new locale files:

typescript
1messages: ( 2 await (locale === "en" 3 ? import("../../locales/en.json") 4 : import(`../../locales/${locale}.json`)) 5).default,

No changes needed unless you want HMR support for the new locale during development (currently only en has HMR via static import).

4. Manual steps (inform user)

After the automated steps complete, inform the user:

The translation file and routing config are set up. You need to manually:

  1. Enable locale in Strapi: Go to Settings > Internationalization > Add new locale > select {locale}
  2. Translate content: For each content type with i18n enabled, switch to the new locale in Strapi admin and translate

Notes

  • The [locale] route segment in apps/ui/src/app/[locale]/ handles locale routing automatically via next-intl
  • generateStaticParams in the root layout iterates routing.locales — new locale pages are generated automatically
  • The localePrefix: "as-needed" setting means the default locale (en) has no prefix, all others get /{locale}/ prefix

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is add-locale?

Perfect for Multilingual Agents needing seamless locale integration with Strapi and NextJS This is a ready-to-go starter template for Strapi projects. It combines the power of Strapi, NextJS, Shadcn/ui libraries with Turborepo setup and kickstarts your project development.

How do I install add-locale?

Run the command: npx killer-skills add notum-cz/strapi-next-monorepo-starter. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for add-locale?

Key use cases include: Adding support for new languages in Strapi projects, Configuring Next.js i18n routing for multilingual applications, Validating locale codes and names for ISO 639-1 compliance.

Which IDEs are compatible with add-locale?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for add-locale?

Requires valid ISO 639-1 locale codes. Limited to Strapi and NextJS ecosystems. Locale names must be capitalized and free of special characters.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add notum-cz/strapi-next-monorepo-starter. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use add-locale immediately in the current project.

Related Skills

Looking for an alternative to add-locale or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI