Translate one, multiple, or all explicitly requested FastGPT i18next namespace JSON files from the completed Simplified Chinese source into every supported target locale, with product-language research and structural validation. Use only when the user explicitly invokes `$i18n-translate` and identifies namespace names, files under `packages/web/i18n/zh-CN/`, or all namespaces; never trigger implicitly for ordinary i18n, copywriting, or documentation work.
77
96%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Treat packages/web/i18n/zh-CN/<namespace>.json as the semantic and structural source of truth. Translate the specified namespace into all sibling locale directories without changing runtime behavior.
Before translating, read both of these references completely:
all from the user.app to packages/web/i18n/zh-CN/app.json.all to every JSON file directly under packages/web/i18n/zh-CN/, sorted by filename.zh-CN; ask for the Simplified Chinese source instead.packages/web/i18n/, excluding zh-CN.rg to find how the same product concept is translated elsewhere in packages/web/i18n/en/.知识库引用 overrides the separate entries for 知识库 and 引用.{{name}}, rich-text tags such as <bold>, URLs, literal escape sequences, and intentional line breaks exactly.en, write concise, natural North American product English. Translate intent rather than syntax, use sentence case by default, and favor familiar product terms over literal Chinese constructions.zh-Hant, write region-neutral, natural Traditional Chinese rather than applying blind character conversion. Prefer established repository terminology when regional variants differ.Run the bundled validator from the repository root:
node .agents/skills/system/i18n-translate/scripts/validate-namespace.mjs \
packages/web/i18n/zh-CN/<namespace>.jsonFor all, run the validator once for every source namespace and require every run to finish with zero errors and zero warnings.
Then:
git diff -- <source-and-target-files> for mistranslation, accidental key changes, stale values, inconsistent capitalization, and unrelated edits.Report:
Do not write a separate summary document.
42512fa
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.