Translate

Translate text into target languages while preserving formatting and placeholders.

Updated Mar 23, 2026
One-click install
npx skills add https://github.com/binfen1/my-skills --skill translate-binfen1
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Translate
Source: https://github.com/binfen1/my-skills/tree/main/openclaw/translate
Command: npx skills add https://github.com/binfen1/my-skills --skill translate-binfen1

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translate text accurately across languages while preserving formatting, placeholders, and the original structure.

Core Features & Use Cases

  • Formatting preservation: Do not alter code blocks, HTML, or Markdown syntax; placeholders like {name}, {{variable}}, %s, and $1 are kept intact.
  • Localization considerations: Correct pluralization, gender agreement, and tone adaptation per locale.
  • Use Case: Translate product manuals or UI strings while maintaining layout and special tokens.

Quick Start

Translate the provided text into the target language while preserving formatting, placeholders, and tone.

Frequently Asked Questions about Translate

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

FAQPage Schema
How do I translate UI strings while preserving placeholders like {name} and %s?

To translate UI strings while preserving placeholders, the text is processed to keep tokens like {name}, %s, and $1 intact. Formatting and special tokens are maintained so the translated output integrates seamlessly without breaking code structure.

Can I translate Markdown documents without altering code blocks and HTML syntax?

Yes, you can translate Markdown documents without altering code blocks or HTML syntax. The translation process explicitly preserves formatting structures, ensuring that code snippets and markup remain untouched while the surrounding text is localized.

How does localization handle pluralization and gender agreement across different locales?

Localization handles pluralization and gender agreement by applying locale-specific linguistic rules during translation. The process adapts text tone and grammar structures per locale to ensure correct plural forms and gender agreements in the target language.

What is the best way to translate product manuals across multiple languages while keeping the original layout?

The best way to translate product manuals while keeping the original layout is to use a translation process that maintains content structure. It adapts tone per locale and preserves formatting, ensuring the localized manual matches the source document's layout.

Does text translation work for multilingual content with mixed Markdown and special variables?

Yes, text translation works for multilingual content with mixed Markdown and special variables. The process translates the text into the target language while explicitly preserving Markdown syntax and special variable tokens like {{variable}} intact.

Why does my translated text lose its original formatting and code block structure?

Translated text loses its original formatting when the translation process alters code blocks or syntax. Using a translation method that explicitly preserves formatting, HTML, and placeholders ensures the content structure remains intact across languages.