translate

Translate English MDX content to Chinese by applying incremental diffs.

16.5k|995|Updated Dec 2, 2019
One-click install
npx skills add https://github.com/udecode/plate --skill translate-udecode
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: translate
Source: https://github.com/udecode/plate/tree/main/.agents/skills/translate
Command: npx skills add https://github.com/udecode/plate --skill translate-udecode

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translating MDX content while preserving structure and avoiding changes to code blocks or component names can be error-prone. This skill ensures translations are synchronized with minimal edits by applying only the detected diffs.

Core Features & Use Cases

  • Preserve Markdown formatting, code blocks, and JSX components during translation.
  • Synchronize English to Chinese translations incrementally as source content updates.
  • Filename mapping: English <name>.mdx maps to Chinese <name>.cn.mdx to support bilingual documentation workflows.

Quick Start

Provide the English MDX content and the tool will translate and update the Chinese translation, applying only modified segments.

Frequently Asked Questions about translate

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

FAQPage Schema
How do I translate MDX content from English to Chinese without breaking JSX components?

To translate MDX content without breaking JSX components, you need a process that preserves formatting and code blocks. This skill translates English to Chinese while keeping Markdown structures and component names intact.

What is the best way to synchronize bilingual MDX documentation incrementally?

Synchronizing bilingual MDX documentation incrementally requires applying only detected diffs to existing translations. This approach updates Chinese files by matching modified English segments, keeping content aligned with minimal edits.

How does diff-based translation work for updating localized MDX files?

Diff-based translation works by detecting changed segments in the English source and applying only those updates to the target file. This ensures the Chinese translation stays synchronized without rewriting the entire document.

Can I use standard filename mapping for English and Chinese MDX files?

Yes, you can use filename mapping where English files named <name>.mdx map to Chinese files named <name>.cn.mdx. This convention supports structured bilingual documentation workflows.

Does translating MDX content with diffs affect existing Markdown formatting?

Translating MDX content with diffs does not affect existing Markdown formatting. The process specifically preserves formatting, code blocks, and JSX components during the translation and synchronization workflow.

When should I use incremental diff translation for MDX localization?

You should use incremental diff translation for MDX localization when your English source content updates frequently. It applies only modified segments to keep translations aligned without manually re-translating entire files.