跳到正文
cccskills
免费在 GitHub 公开

document-translator

Translating documents while preserving layout, tables, and formatting — use for multilingual document workflows.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Overview

Document translation isn't just translating text — it's translating text while keeping the document intact: layout, tables, images, headers, footers, and formatting. This skill covers the pipeline from structured extraction through translation to faithful reconstruction, plus quality assurance.

When to use

  • Translating Office documents, PDFs, or HTML while preserving formatting
  • Building multilingual documentation pipelines
  • Handling right-to-left (RTL) languages and locale-specific formatting
  • Managing translation memory and glossaries for consistency
  • QA'ing translated documents (layout breakage, untranslated strings)

Core concepts

Translate structure, not strings. Extract translatable segments with their structural context (heading, table cell, list item, caption) — context disambiguates meaning ("lead" the metal vs "lead" the team). Rebuild the document from the translated segments rather than find-replacing in the raw file, which corrupts formatting.

Segmentation matters. Sentence-level segmentation is the translation industry standard (enables translation memory reuse). Preserve inline formatting markers within segments so bold/links survive translation.

Glossaries enforce consistency. Product names, technical terms, and brand voice need locked translations. Maintain a termbase (source term → approved target term per language) and enforce it — inconsistent terminology is the fastest way to look unprofessional in a second language.

Text expansion breaks layouts. German runs ~30% longer than English; Chinese contracts. Fixed-size text boxes, buttons, table columns, and slide layouts overflow. Design source documents with expansion room, and QA target layouts visually — automated checks catch overflow only if you measure rendered text.

Locale isn't just language. Dates, numbers, currencies, units, and reading direction (RTL for Arabic/Hebrew) need localization. A translated document with US date formats and LTR layout for Arabic is half-finished.

Practical workflow

  1. Prepare the source: clean up the document (consistent styles, no manual formatting hacks), extract translatable content with structure intact.
  2. Set up language assets: translation memory from prior work, glossary/ termbase for key terms, style guide notes per language.
  3. Translate with context: provide translators (human or machine + human review) with segment context, screenshots for UI-adjacent content, and character limits where layout constrains.
  4. Reconstruct the document in the original format, applying target-locale typography (fonts supporting the script, RTL layout mirroring, locale number/date formats).
  5. QA systematically: spell/grammar check in target language, glossary compliance scan, untranslated-segment detection, layout review (overflow, broken tables, orphaned punctuation), and functional check of links/TOC.
  6. Version and maintain: source changes require re-translation of changed segments only (translation memory diffing); keep source and translations versioned together.

Common pitfalls

  • Machine-translating without human review for customer-facing or legal content — MT quality varies wildly by language pair and domain; post-editing is part of the workflow, not optional.
  • Translating the raw file with find-replace — destroys formatting, duplicates, and embedded objects; use structured extraction.
  • Ignoring text expansion — translated UI/docs overflow fixed layouts; budget space and verify visually.
  • Inconsistent terminology across documents — build and enforce the glossary from document one.
  • Forgetting RTL — Arabic/Hebrew need mirrored layouts, RTL text flow, and appropriate fonts; LTR assumptions break everything.
  • Translating content that shouldn't be translated — code samples, URLs, brand names, and placeholders ({{name}}) must be protected from translation; use do-not-translate rules.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Master 1Password: vaults, Watchtower, passkeys, SSH agent, CLI, and family/team administration. Use when getting full value from 1Password personally or administering it for others.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D visuals with modeling, texturing, lighting, rendering, and optimization for web and product.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Create 3D web experiences: scene setup, models, materials, lighting, animation, scroll-driven scenes, and performance budgets. Use when adding 3D to websites beyond basic demos.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Writing abstracts that get papers read — structured content, the 5-sentence core, and journal-specific constraints.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Learn effectively from courses and academies: choosing programs, studying actively, and converting courses into skills. Use when investing time/money in structured learning.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

Audit designs for accessibility with WCAG checklists covering color, type, focus, motion, and content.

中文简介正在准备中。当前显示原文说明。

aicodedecode/awesome-muse-skills252026年10月10日 更新

查看 aicodedecode 的全部技能

报告此技能的问题