add-translation
БесплатноБез исполняемых скриптовНе проверенAdd or update English translation keys with proper localization placement
от clidey★ 5 073 звезды на GitHubОб этом скилле
Add Translation Keys
Quick Path (single key)
1. Determine Location
- Shared across components →
frontend/src/locales/common.yaml - Component-specific →
frontend/src/locales/components/<name>.yamlorpages/<name>.yaml
2. Add en_US Entry Only
en_US:
newKey: English text here
parameterized: "Hello {name}, you have {count} items"
Do not add or update non-English locale entries unless the user explicitly asks for translation. Translation tooling is manual maintenance, not part of the default agent workflow.
3. Use in Component
const { t } = useTranslation('components/my-component');
// or for common keys, just use t('key') — they're auto-available
t('newKey')
t('parameterized', { name: userName, count: itemCount })
Pluralization
Add suffix variants:
en_US:
items: "{count} items"
items_one: "{count} item"
The count param triggers plural resolution automatically.
JSX in Translations
en_US:
details: "See our {link} for info."
t('details', { link: <a href="/docs">{t('docsLink')}</a> })
Removing Keys
- Remove from YAML file
- Leave other language entries untouched unless the user explicitly requested cleanup
Verification
TypeScript does not check keys: t() accepts any string and a missing key renders as the key itself. Confirm each key used in the component exists in its YAML file or common.yaml, then build:
cd frontend && pnpm run build:ce
Установить add-translation в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл add-translation?
Add or update English translation keys with proper localization placement
Как установить скилл add-translation?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл add-translation запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
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