con un clic
translate
Translate changed English locale keys into all other languages
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Translate changed English locale keys into all other languages
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación 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.