Repository navigation
feat(engineering): add i18n-localization plugin (#849) - #1095
Merged
Merged
Conversation
Three stdlib scripts with blocking exit codes for shipping a new language: locale_sync.py (keys, placeholders, ICU syntax, CLDR 49 plural categories, gettext), hardcoded_strings.py (UI text that bypasses t() in React/Vue/ Svelte/HTML) and pseudo_localize.py (en-XA / ar-XB pseudo-locales). Agent cs-i18n-engineer, /cs-i18n-check and /cs-pseudo-locale, three references, CI job example. Bundled in engineering-advanced-skills 2.14.15. Eval, 3 runs per arm on 8 planted defects: 24/24 both arms; with the skill 43% cheaper and 26% faster. The value is a repeatable CI gate. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01L8KYFGuNUFriREtj1haTcG
Contributor
🔒 Skill Security Audit Results✅
|
alirezarezvani
marked this pull request as ready for review
November 2, 2026 15:50
This was referenced Nov 3, 2026
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Reza · project thread
Summary
Adds
engineering/i18n-localization, the top-ranked uncovered request from the issue backlog (#849). It ships three stdlib scripts, and each one has exit codes that can block a build:locale_sync.pychecks translation files against the source locale: missing or empty keys, changed placeholders, ICU syntax, plural/select withoutother,zerovs=0, and the plural categories each target locale needs. It uses an embedded CLDR 49 table. It reads JSON/ARB (i18next or ICU),.properties, Apple.strings, Android XML and gettext.po.hardcoded_strings.pyfinds UI text that bypassest()in React, Vue, Svelte and HTML. It also warns on concatenation and on date or number formatting that doesn't pass a locale. Supports--warn-only,.i18n-allowandi18n-ignore.pseudo_localize.pygeneratesen-XAandar-XB(--bidi) pseudo-locales. Placeholders and ICU syntax are kept intact.The plugin also includes:
cs-i18n-engineeragent/cs-i18n-checkand/cs-pseudo-localecommandsIt is bundled in
engineering-advanced-skills2.14.15; the standalone plugin is at 2.14.7.Eval (Claude Code headless, 3 runs per arm, with the skill vs without):
On held-out repos (outline, documenso),
hardcoded_strings.pyhad precision of TEXT 20/20, ATTR 17/20 and EXPR 15/20.Checklist
claude-prefix, and no clash with Claude Code built-in names (check_skill_names.py --all)engineering/skills/is byte-identical (check_dual_publish.py)Type of Change
Testing
These all pass locally:
check_plugin_json --allcheck_plugin_versions --base origin/devcheck_dual_publishcheck_paths --allcheck_frontmatter --allcheck_skill_names --allcheck_command_refscheck_listing_budgetderive_counters --checksmoke_scripts: 787 passed, 0 failedsmoke_json_outputcompileallskill_security_auditor --strict: no issuesGenerated by Claude Code