i18n-integrity
Translation integrity: every key present in every language, no hardcoded strings, consistent placeholders and plurals. Runs when user-facing text changes.
от crewforth★ 26 звёзд на GitHub
Установить i18n-integrity в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Translation Integrity (i18n)
Trigger phrases: "i18n", "translation", "language file", "missing translation", "localization", "translate", "untranslated", "hardcoded string", "multi language", "multiple languages", "still in english", "locale"
Goal: no missing/broken text in any language. Languages: the set the project declares (e.g. in CLAUDE.md or the locale directory).
Audit dimensions
- Key parity: every key has a counterpart in ALL languages; a missing/extra key = a finding.
- No hardcoded strings: user-facing text is not embedded in code, it comes from the language file.
- Placeholder consistency:
{name},%s, ICU{count, plural, ...}are identical in every language. - Plural rules: language-specific plural forms (especially RU) are correct.
- Assembled sentences: a sentence built by concatenating pieces around a variable (
t('hello') + name + t('welcome')), or a plural chosen by hand (n === 1 ? … : …), is a finding: word order and plural forms differ by language, so the whole sentence is one message with a placeholder (ICU /Intl.PluralRules). - Empty/identical value: an untranslated (identical to the source) placeholder value is flagged.
Check (key-set comparison)
# Example: compare the key sets of JSON language files
for f in locales/*.json; do echo "== $f =="; jq -r 'keys[]' "$f" | sort > "/tmp/$(basename $f).keys"; done
diff /tmp/tr.json.keys /tmp/en.json.keys # differences = missing/extra keys
DoD
- Key sets are equal across all languages; no hardcoded user text; placeholders are consistent.
- Missing translation = red (no deferral).
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл i18n-integrity?
Translation integrity: every key present in every language, no hardcoded strings, consistent placeholders and plurals. Runs when user-facing text changes.
Как установить скилл i18n-integrity?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл i18n-integrity запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet 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…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…