translate

Translate text, documents, and web content into Chinese while preserving Markdown structure.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/cruldra/skills --skill translate-cruldra
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translate
Source: https://github.com/cruldra/skills/tree/main/skills/translate
Command: npx skills add https://github.com/cruldra/skills --skill translate-cruldra

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

需要将文本、文档或网页内容翻译成中文,同时尽量保持原有 Markdown 结构和格式,减少人工整理成本。

Core Features & Use Cases

  • 自动识别来源类型:URL、本地 Markdown/文本文件、纯文本输入,自动定位翻译目标。
  • 内容清理与保留:参考 cleaning.md 的规则,提取面包屑层级、移除头部导航与尾部导航,保留正文、代码块、图片、表格等要素。
  • Docusaurus 兼容性:自动添加 sidebar_position 元数据,遵循 Docusaurus 的命名与结构规则,智能推荐保存路径。
  • 智能命名与结构保持:尽量保留原文的章节与代码块结构,翻译后的文档仍保持可读性和可浏览性。

Quick Start

Translate the input content and save it as a Docusaurus-ready Markdown file.

Frequently Asked Questions about translate

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

FAQPage Schema
How do I translate Markdown documentation into Chinese without breaking the formatting?

To translate Markdown documentation into Chinese without breaking formatting, this Skill processes headers, code blocks, links, and media while preserving the original layout structure. It automatically identifies the source type and maintains document readability.

Can I translate web content fetched via URLs directly into Docusaurus-ready files?

Yes, you can translate web content fetched via URLs directly into Docusaurus-ready files. This Skill processes scraped web pages, adds sidebar_position metadata, and recommends save paths following Docusaurus naming and structure rules.

Does this Markdown translation tool support local text files and plain text inputs?

This Markdown translation tool supports local text files and plain text inputs alongside URLs. It automatically detects the source type, cleans content by removing navigation elements, and retains core body text, code blocks, images, and tables.

What is the best way to prepare translated documentation for Docusaurus?

The best way to prepare translated documentation for Docusaurus is to use a translation process that automatically generates frontmatter and per-page metadata. This Skill ensures terminology consistency while producing Docusaurus-ready Markdown files with correct sidebar positioning.

Why does translated web content still contain breadcrumbs and navigation menus?

Translated web content should not contain breadcrumbs and navigation menus if properly cleaned. This Skill applies reference rules to extract breadcrumb hierarchies and remove header and footer navigation, ensuring only the main body content is translated.

Are there limitations when translating code blocks and media links in Markdown files?

When translating code blocks and media links in Markdown files, limitations are minimal as this Skill explicitly preserves these elements. It maintains the original chapter structure and media references, ensuring the translated document remains fully readable and browsable.