localize
Installation
SKILL.md
When this skill is invoked:
-
Parse the subcommand from the argument:
scan— Scan for localization issues (hardcoded strings, missing keys)extract— Extract new strings and generate/update string tablesvalidate— Validate existing translations for completeness and formatstatus— Report overall localization status
-
For
scan:- Search
src/for hardcoded user-facing strings:- String literals in UI code that are not wrapped in a localization function
- Concatenated strings that should be parameterized
- Strings with positional placeholders (
%s,%d) instead of named ones ({playerName})
- Search for localization anti-patterns:
- Date/time formatting not using locale-aware functions
- Number formatting without locale awareness
- Text embedded in images or textures (flag asset files)
- Strings that assume left-to-right text direction
- Report all findings with file paths and line numbers
- Search