doc-translator

Translate English technical documents into fluent Chinese while preserving formatting and code blocks.

Updated Sep 5, 2021
One-click install
npx skills add https://github.com/a747895159/spring-cloud-study-alibaba --skill doc-translator-a747895159
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: doc-translator
Source: https://github.com/a747895159/spring-cloud-study-alibaba/tree/main/.agent/skills/doc-translator
Command: npx skills add https://github.com/a747895159/spring-cloud-study-alibaba --skill doc-translator-a747895159

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

English documents often require precise, fluent translation into Chinese that preserves technical meanings, formatting, and code blocks.

Core Features & Use Cases

  • Translates English technical documents into Chinese with preserved semantics, grammar, and formatting.
  • Maintains code blocks, terminology, and document structure for API docs, manuals, and guides.
  • Use Case: Translate a REST API reference from English to Chinese, keeping code samples intact and terminology consistent.

Quick Start

Translate the attached English API document into Chinese, preserving all formatting and code blocks.

Frequently Asked Questions about doc-translator

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate English technical documents to Chinese without altering code blocks?

Translating English technical documents to Chinese while preserving code blocks requires a method that skips fenced code sections. This ensures code samples remain untranslated and intact while the surrounding text converts into fluent Chinese.

What is the best way to translate a REST API reference from English to Chinese?

Translating a REST API reference from English to Chinese requires enforcing terminology consistency across the document. This approach maintains document structure and keeps API code samples intact throughout the translated manual.

Can I translate English design docs to Chinese and keep the original formatting?

Yes, you can translate English design docs to Chinese while keeping the original formatting. Specialized translation processes preserve semantics, grammar, and document structure, ensuring the translated output mirrors the original layout.

Does English-to-Chinese technical translation handle terminology consistency automatically?

English-to-Chinese technical translation handles terminology consistency automatically when using a dedicated translation process. It enforces consistent technical terms across manuals, API references, and design docs during the document conversion.

Why does my English to Chinese documentation translation break fenced code blocks?

English to Chinese documentation translation breaks fenced code blocks when the process lacks specific code preservation rules. Applying a method designed to skip code content ensures formatting and code samples remain unmodified during translation.