add-i18n

Synchronize translation keys between English and French locale files.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/abdoulayesow/restaurant-hub-app-001-2026 --skill add-i18n
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: add-i18n
Source: https://github.com/abdoulayesow/restaurant-hub-app-001-2026/tree/main/.claude/skills/add-i18n
Command: npx skills add https://github.com/abdoulayesow/restaurant-hub-app-001-2026 --skill add-i18n

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translating UI text manually across en.json and fr.json leads to desynchronization, missing keys, and inconsistent wording. This skill automates adding new keys to both language files to keep translations aligned and reduce manual errors.

Core Features & Use Cases

  • Bi-directional updates: adds keys to both English and French locale files in lockstep.
  • Namespace-friendly: supports nested keys following common i18n conventions.
  • Conflict awareness: avoids overwriting existing keys unless explicitly updated.

Quick Start

Run a translation update by invoking /i18n orders.title "Orders" "Commandes" to add a key to both en.json and fr.json.

Frequently Asked Questions about add-i18n

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

FAQPage Schema
How do I keep translation keys synchronized between en.json and fr.json locale files?

To keep translation keys synchronized between en.json and fr.json locale files, automate bi-directional updates that add new nested keys to both files in lockstep. This prevents desynchronization, missing keys, and inconsistent wording across English and French locales.

What is the best way to add nested i18n keys to multiple locale files without overwriting existing translations?

Adding nested i18n keys to multiple locale files requires conflict-aware automation that preserves existing structures. The process validates against duplicates and avoids overwriting existing keys unless explicitly updated, ensuring consistent namespace additions across both language files.

Can I bulk add new translation keys to nested namespaces in my i18n project?

Yes, you can bulk add new translation keys to nested namespaces in your i18n project. The automation supports common i18n conventions for nested keys, applying additions across both English and French locale files while validating against duplicates.

Why do my English and French translation files keep getting desynchronized when I add new UI text?

English and French translation files get desynchronized because manually updating en.json and fr.json leads to missing keys and inconsistent wording. Automating bi-directional lockstep updates ensures both locale files remain aligned during every addition.

Does this i18n automation work with arbitrary JSON locale structures?

This i18n automation works with nested JSON locale structures following common i18n conventions. It targets files located in public/locales/en.json and public/locales/fr.json, preserving the existing JSON structure while adding new keys.

What happens if I try to add a duplicate translation key to the locale files?

When adding a duplicate translation key to the locale files, the automation validates against duplicates and avoids overwriting existing keys unless explicitly updated. This conflict awareness preserves your current translations during bulk additions.