i18n
БесплатноЗапускает вложенные скриптыНе проверенInternationalization management tool for syncing and translating language files
Об этом скилле
I18n Management Skill
Manage multilingual content in the translations/ directory. This skill provides tools to synchronize language files with the English reference and assist with translations.
Overview
This project uses next-intl for internationalization with JSON message files organized in translations/:
translations/
├── en/ # English (source of truth)
│ ├── index.ts # Main export file
│ ├── shared.json
│ ├── components.json
│ └── pages/
│ ├── home.json
│ ├── manifesto.json
│ ├── docs.json
│ ├── articles.json
│ ├── curated-collections.json
│ ├── stacks.json
│ ├── comparison.json
│ ├── landscape.json
│ ├── open-source-rank.json
│ └── search.json
├── de/ # German
├── es/ # Spanish
├── fr/ # French
├── id/ # Indonesian
├── ja/ # Japanese
├── ko/ # Korean
├── pt/ # Portuguese
├── ru/ # Russian
├── tr/ # Turkish
├── zh-Hans/ # Simplified Chinese
└── zh-Hant/ # Traditional Chinese
Important: Each locale must maintain the exact same file structure and JSON key order as en/.
I18n Architecture
The project has two separate internationalization systems that share the same 12 locale configuration:
1. UI Translation System (next-intl)
- Purpose: Translates static UI strings (buttons, labels, page content, etc.)
- Location:
translations/{locale}/*.json - Usage: Via
useTranslations()hook orgetTranslations()server function - Managed by: This skill's sync and translate commands
2. Manifest Translation System
- Purpose: Translates manifest data (IDEs, CLIs, models, providers, etc.)
- Location:
manifests/**/*.json(in each manifest file'stranslationsfield) - Usage: Via
localizeManifestItem()andlocalizeManifestItems()functions - Managed by: Manual editing of manifest files or manifest automation tools
This skill manages only the UI Translation System. For manifest translations, edit the manifest JSON files directly or use the manifest-automation skill.
Enabled Locales
Currently enabled locales in src/i18n/config.ts:
en- English (source of truth)de- Deutsch (German)es- Español (Spanish)fr- Français (French)id- Bahasa Indonesia (Indonesian)ja- 日本語 (Japanese)ko- 한국어 (Korean)pt- Português (Portuguese)ru- Русский (Russian)tr- Türkçe (Turkish)zh-Hans- 简体中文 (Simplified Chinese)zh-Hant- 繁體中文 (Traditional Chinese)
All 12 locales are fully enabled and must be maintained in sync.
Subcommands
sync
Synchronize all enabled locale directories with en/ as the source of truth.
What it does:
- Scans all locale directories in
translations/that are enabled in config - Compares each JSON file's keys with the corresponding English file
- Adds missing keys with English text as placeholder (needs translation)
- Removes extra keys not present in English files
- Preserves JSON structure, key order, and formatting (2-space indentation)
- Keeps the
index.tsfile structure for each locale
Usage:
When you need to sync language files, use this command in Claude Code:
Please run the i18n sync command
Claude Code will execute:
node .claude/skills/i18n/scripts/sync.mjs
Output Example:
🔄 Syncing translation files with en/...
✓ Synced de/
+ Added 3 keys in components.json
+ Added 5 keys in pages/home.json
- Removed 1 key in shared.json
✓ Synced zh-Hans/
+ Added 8 keys in pages/stacks.json
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
✓ Sync complete!
Modified: 2 locales
Added: 16 keys
Removed: 1 key
When to use:
- After adding new keys to any English JSON file
- After removing obsolete keys from any English JSON file
- After adding new JSON files to the English structure
- Before starting translation work (ensures all keys exist)
- When adding a new locale
translate <locale>
Generate translation tasks for Claude Code to translate missing content.
What it does:
- Reads all JSON files from
en/and<locale>/ - Identifies keys that need translation (currently in English or missing)
- Outputs a structured translation task with guidelines
- Provides context and instructions for accurate translation
Usage:
When you need to translate content, use this command in Claude Code:
Please run the i18n translate command for ja
Claude Code will execute:
node .claude/skills/i18n/scripts/translate.mjs ja
Workflow:
- The script outputs content that needs translation in JSON format
- Claude Code reads the guidelines and translates the content
- You provide the translated JSON back
- Claude Code updates the locale JSON files
**Translation Guid
Установить i18n в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл i18n?
Internationalization management tool for syncing and translating language files
Как установить скилл i18n?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл i18n запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic