.agents/skills/wox-i18n/SKILL.md
Use wox.core/resource/lang/en_US.json as the authoritative source for keys, meaning, structure, and placeholders. Work on one requested locale at a time unless the user explicitly asks for several.
AGENTS.md and the relevant locale files before editing.{name}, Wox placeholders such as {wox:selected_text}, printf verbs such as %s and %02d, newlines, and other formatting tokens. Reordering placeholders is allowed only when the format mechanism supports it and the target language requires it.wox.core/resource/lang/*.json and reference them with i18n: keys, as required by the repository instructions.store-plugin.json; their translations belong to their authors. Wox-owned catalogs such as store-ai-command.json are in scope when they contain the target locale.Use commit 0cfb2a346af4278c5cd385aa649cb9ddb641f461 as a concrete checklist, but follow the current tree when it has evolved:
git show --stat 0cfb2a346af4278c5cd385aa649cb9ddb641f461
git show 0cfb2a346af4278c5cd385aa649cb9ddb641f461 -- wox.core/i18n/lang.go store-ai-command.json wox.core/ui/launcher/view/form_table_view_test.go www/docs/.vitepress/theme/components/pluginStore.ts www/docs/development/plugins/specification.md www/docs/zh/development/plugins/specification.md AGENTS.md
Then make the smallest complete current-tree change:
wox.core/resource/lang/<locale>.json with every key from en_US.json, in the same order, fully translated.LangCode and native display name in wox.core/i18n/lang.go.store-ai-command.json, and to website locale mapping where applicable.Do not create a translated documentation site merely because the app gains a locale; add one only when the user requests and supplies that scope.
en_US.json and unused; otherwise report it for review.store-ai-command.json, for missing target-locale entries when the request is to complete the language across Wox.Avoid replacing the whole locale file when a focused insertion or wording edit produces a clear diff.
Run from the repository root:
python .agents/skills/wox-i18n/scripts/check_locale.py <locale>
git diff --check
The checker must pass without missing keys, extra keys, empty values, or placeholder mismatches. Review its identical-value warnings manually.
If language registration or enumerating tests changed, run the focused Go tests from wox.core:
go test ./i18n ./ui/launcher/view
Finish by reviewing the diff for accidental English fallback text, placeholder damage, unrelated rewrites, and omissions from the reference-commit checklist.