Taiwan Translate Skill
台灣正體中文翻譯技能包
WordPress zh-TW glossary · China-to-Taiwan term check · .po / .pot validator
English · 正體中文
This is an unofficial community project. It is not made by, endorsed by, or affiliated with the WordPress Foundation, the WordPress Taiwan translation team or Fanhuaji. It reads their public glossary and converter output; neither is bundled as software.
What it does
Gives an AI assistant the WordPress Taiwan community's official zh-TW glossary, so plugin, theme and software UI strings come out in Taiwan usage instead of China usage or machine guesses.
| Area | What you get |
|---|
| Glossary | 2,627 glossary rows from the WordPress Taiwan GlotPress glossary: 2,566 current, 61 kept from the 2024-03-22 GitHub snapshot; every row has its source URL, retrieval date and trust level |
| China → Taiwan terms | 135 term pairs (設置 → 設定, 插件 → 外掛): 76 measured against the Fanhuaji Taiwan converter, 30 from official docs, 29 house style |
| Lookup | search.py finds a term in English or Chinese; lookup.py lists every glossary hit in a sentence. Neither rewrites the sentence: the model translates, the glossary keeps terms consistent |
| .po / .pot | po.py extract pulls untranslated entries (plural, msgctxt, multi-line); po.py validate checks placeholders, empty strings, punctuation, China terms, and exits 1 on any error |
| Installer | tw-translate init installs the skill into 14 AI tools (Claude Code, Cursor, Codex, Gemini CLI, Copilot and more) |
The model looks a term up before answering. When the glossary has no entry it says so and logs the question in data/pending.csv instead of inventing a "standard" translation.
When to use
| Use it for | Use something else for |
|---|
| English → Taiwan Traditional Chinese for WordPress plugins, themes and software UI | Writing Chinese WordPress articles for SEO → rankmath-seo-wp |
Translating or checking .po / .pot files, fixing Loco Translate warnings | Converting a whole Simplified Chinese text with no software terms → the Fanhuaji site |
| "How does the WordPress Taiwan community translate X?" | Legal or medical documents: the glossary does not cover them |
| Replacing China usage (設置, 默認, 插件) with Taiwan usage | |
Install
| Need | For |
|---|
| Python 3 (standard library only) | The search, lookup and .po tools |
| Node.js 18+ | The tw-translate installer (npx) only |
| Windows, macOS or Linux | Everything |
Step 1: Pick an install method
Claude plugin (Claude Code; the Claude directory once listed):
/plugin marketplace add Moksa1123/taiwan-translate-skill
/plugin install taiwan-translate@taiwan-translate-skill
npx (Claude Code and the other AI tools below):
npx [email protected] init # pick a platform interactively
npx [email protected] init --ai claude --global
Manual copy:
git clone https://github.com/Moksa1123/taiwan-translate-skill.git
cp -r taiwan-translate-skill/translate-cli/assets/taiwan-translate ~/.claude/skills/tw-translate