Skip to content

graphif/project-graph / .trae/skills/manage-translations

manage-translations

Verified

指导如何在 Project Graph 项目中管理多语言翻译。当需要添加新翻译、更新现有翻译或了解翻译系统结构时使用此技能。

管理翻译

本技能指导如何在 Project Graph 项目中管理多语言翻译。

翻译文件位置

所有翻译文件位于 app/src/locales/ 目录下:

app/src/locales/
├── en.yml      # 英文
├── id.yml      # 印度尼西亚语
├── zh_CN.yml   # 简体中文
├── zh_TW.yml   # 繁体中文
├── zh_TWC.yml  # 接地气繁体中文
├── ...         # 其他语言翻译文件
└── README.md   # 翻译系统说明

查看当前支持的语言

在添加或修改翻译前,先查看 app/src/locales/ 目录下有哪些 .yml 文件:

ls app/src/locales/*.yml
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 197kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall