bilingual

Detects and generates missing zh-cn or en versions of blog content.

1|Updated Jun 14, 2021
One-click install
npx skills add https://github.com/XingMXTeam/maoxunxing.com --skill bilingual
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bilingual
Source: https://github.com/XingMXTeam/maoxunxing.com/tree/main/.qoder/skills/bilingual
Command: npx skills add https://github.com/XingMXTeam/maoxunxing.com --skill bilingual

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automatically ensure that all blog content has both zh-cn and en versions, eliminating manual translation gaps and keeping the site consistent.

Core Features & Use Cases

  • Detects posts in content/posts/, content/notes/, or content/raw/ that have only one language version and generates the missing counterpart.
  • Translates titles and descriptions while preserving important frontmatter (date, tags) and keeps code blocks, URLs, and technical terms intact.
  • Applies during content creation, editing, or publishing, and supports explicit translation requests.

Quick Start

Provide the source post path and request translation to the missing language to generate the counterpart.

Frequently Asked Questions about bilingual

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

FAQPage Schema
How do I auto-create missing bilingual posts for Hugo blog content parity?

To auto-create missing bilingual posts for Hugo blog content parity, the Skill detects single-language files in content/posts/, notes/, or raw/ and generates the missing zh-cn or en counterpart automatically.

Does the translation process preserve frontmatter and code blocks in Hugo markdown files?

Yes, the Hugo markdown translation process preserves frontmatter fields like date and tags, keeps code blocks, URLs, and technical terms intact, and translates titles, descriptions, and body content naturally.

What is the best way to generate missing zh-cn and en versions across Hugo content directories?

The best way to generate missing zh-cn and en versions is triggering translation on creation, edits, publication, or explicit requests across content/posts/, content/notes/, and content/raw/ directories.

Can I translate Hugo blog tags specifically for different language versions?

Yes, you can translate Hugo blog tags for different language versions, as the Skill supports language-specific tag translations while maintaining the rest of the frontmatter and body content structure.

How do I trigger an explicit translation request for a single Hugo blog post?

To trigger an explicit translation request for a single Hugo blog post, provide the source post path and request translation to the missing language to generate the missing counterpart file directly.