运行 Phase 2 工作流。执行脚本扫描缺失的多语言词条,并按注册表补全启用语言(如 en-US、zh-TW、vi-VN、ja-JP、fr-FR),最后修复相关测试。
64
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Critical
Do not install without reviewing
Fix and improve this skill with Tessl
tessl review fix ./.cursor/skills/fill-i18n-phase2/SKILL.md当你被要求执行此技能时,说明我们现在进入了 Phase 2,你可以暂时忽略 "Phase 1" 的限制规则。你的目标是补齐所有缺失的翻译,并让测试变绿。
此技能也适用于两类场景:
registry.json 中已启用语言的缺失词条。fr-FR),并补齐其前后端、模板、配置与测试链路。请严格执行以下步骤:
python tools/i18n/generate_missing_report.py(该脚本会对比 zh-CN 和其他语言,输出 Markdown 报告到根目录)。i18n_missing_report.md 报告文件。static/locales/registry.json 中已启用且需要补全的目标语言。常见包括英文 (en-US)、繁体中文 (zh-TW)、越南语 (vi-VN)、日语 (ja-JP) 与法语 (fr-FR)。.po 文件,必须运行 python tools/i18n/build_mo.py。但是不要去修改 messages.po 文件,这个是通过 python tools/i18n/build_mo.py 生成出来的,你不需要修改也不需要去阅读任何语言的 messages.po 文件。pytest tests/test_frontend_locales.py tests/test_backend_locales.py 进行终检。如果有缺失,重复步骤 3 直到全部通过。001b129
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.