Translate and localize docs with AI

Updated 2026-11-26 15 分钟(含术语对齐) Difficulty ★★☆☆☆Author Skills 编辑部

Skills used in this guide (2)

Machine translation's scare is "fluent but distorted" — wrong terms, wrong tone, stiff local phrasing. The point: give a glossary and target-reader tone, have it "translate + keep proper nouns", then you verify key sentences — not trust the whole blindly.

Who this is for / not for

For:

  • Translate materials, docs, product copy
  • Maintain multilingual UI / i18n
  • Want consistent terms, not one word many ways

Not for:

  • Certified legal/contract translation (human review + pro translator)
  • Confidential source (mask before cloud)
  • "Zero glossary, 100% accurate" (terms are yours to set)

Before you start

  1. Glossary: proper nouns / product names / acronyms CN-EN.
  2. Reader & tone: formal / casual / marketing.
  3. Format: Markdown / doc, keep structure if possible.

Steps

1. Install the skill

visa-doc-translate is a document-level translation skill. Copy its folder into your client's skills directory (same as any Agent Skill):

ClientDirectory
Claude Code~/.claude/skills/
Codex~/.codex/skills/
Cursor~/.cursor/skills/
Trae~/.trae/skills/
CodeBuddy~/.codebuddy/skills/
Tongyi Lingma~/.lingma/skills/

2. Glossary first, then translate

text
Translate the doc to Chinese, rules:
- glossary: API→接口(don't translate), token→令牌, Pipeline→流水线
- proper nouns (product/person) stay original
- tone: technical-doc, not casual
- keep Markdown headings and lists

3. Product copy goes i18n

UI/product multilingual → i18n-localization, align by key, avoid many translations of one word:

text
Localize these UI strings to English, keep keys unchanged,
one concept one translation across the file, button copy ≤3 words.

4. You verify key sentences

After translation, spot-check the glossary and 3 key sentences for "fluent but distorted".

Pitfalls

PitSymptomFix
Wrong termsAPI translatedGlossary first, keep proper nouns
Wrong toneTech reads marketingState reader & tone
One word manySame word variesi18n by key, unified
Trust wholeKey sentence wrongSpot-check glossary + 3 keys
LeakConfidential to cloudMask sensitive first

FAQ

Translate without glossary?

Yes but quality varies; glossary lifts accuracy clearly.

Avoid re-translating product?

i18n-localization by key; one concept translated once.

Keep format?

Yes — require Markdown / original structure; doc-level keeps format.

Contracts via AI?

Draft only; formal use pro translator + certified review.

Check quality?

Spot-check glossary + 3 key sentences for "fluent but distorted".

Related guides

Continue across these scenes:

相关源码

一句话结论

结论:翻译先给术语表再翻、专有名词保留,最后你抽查关键句,别盲信"通顺但走样"的全文。

References

Related Scenes

Also useful across scenes