
Translate
Automates the tedious part of translating XLF files by finding entries marked state="new", hunting down their usage context in your TypeScript and HTML files, then proposing translations you can approve or tweak. It handles the annoying bits like preserving XML placeholders for Angular interpolations and HTML tags, and changes state to "ai" after you approve so you know what's been processed. Works with German, French, Spanish, and Hungarian. The workflow is interactive, showing you each translation with its code context before applying anything, which beats manually grep-ing through message files and worrying about breaking placeholder syntax. Good fit if you're maintaining an Angular app with i18n and want to speed up the review process without auto-applying sketchy translations.
- skills.sh installs
- 150
- last updated
- Aug 21, 2026
Install
$ npx -y skills add tuesd4y/agent-skills --skill translate --agent claude-codeInstalls into .claude/skills of the current project.
Files
Translation Skill
Translate new entries in XLF translation files by finding state="new" targets, locating source context, and proposing translations for review.
Workflow
Step 1: Extract New Translation Entries
Run the extraction script using the Bash tool:
python3 skills/translate/scripts/find_new_translations.py
This outputs JSON with all changed XLF files and their state="new" entries, including translation IDs, source/target text, line numbers, and placeholders. If the files array is empty, inform the user that no new translations were found.
Step 2: Find Source Context
For each translation ID from the script output, use the Grep tool to find its usage in the codebase:
- Search for
@@{ID}with file pattern**/*.tsto find$localizestrings - Search for
@@{ID}with file pattern**/*.htmlto findi18nattributes
Use the Read tool on matched files to get 5-10 lines of surrounding context.
Step 3: Generate & Review Translations
For each state="new" entry, present to the user:
Sponsors
Details
- Repository
- github.com/tuesd4y/agent-skills
- Categories
- Git & Pull Requests, Code Review & Quality, AI & Agent Building
- First seen
- Jun 3, 2026