com um clique
translate
Translate changed English locale keys into all other languages
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Menu
Translate changed English locale keys into all other languages
Instalar com Codex ou Claude Copie este prompt, cole no Codex, Claude ou outro assistente e deixe que ele revise a página da skill e instale para você.
Baseado na classificação ocupacional SOC
| name | translate |
| description | Translate changed English locale keys into all other languages |
| allowed-tools | Read, Write, Edit, Bash, Glob |
Translate changed English locale keys into all other languages.
Here are the current changes to the English locale files:
!`git diff HEAD -- src/locales/en/ 2>/dev/null || echo "No changes detected in English locale files."`
Using the diff above, identify which namespace files changed. For any file that is new (not in git history), treat all keys as added. If the diff is empty, stop and report that there is nothing to translate.
Identify:
Flatten nested objects to dot-notation for comparison (e.g. {"a": {"b": "hi"}} becomes a.b = "hi").
If there are no changes across any namespace, stop and report that there is nothing to translate.
For each other locale directory (de, pt-br, zh, zh-Hant), apply changes to every namespace:
Write the updated JSON files with 2-space indentation.
{{variable}}, {variable}, <1>, %s, etc.glossary.md in this directory for project-specific terminology.de = Germanpt-br = Brazilian Portuguesezh = Simplified Chinesezh-Hant = Traditional Chineseen files.