원클릭으로
translate
Translate changed English locale keys into all other languages
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Translate changed English locale keys into all other languages
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
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/shared/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.