translate_skill

This skill translates text accurately while preserving formatting, placeholders, and tone per locale to ensure natural, context-aware outputs.
  • Python

2.5k

GitHub Stars

2

Bundled Files

2 months ago

Catalog Refreshed

4 months ago

First Indexed

Readme & install

Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.

Installation

Preview and clipboard use veilstrat where the catalogue uses aiagentskills.

npx veilstrat add skill openclaw/skills --skill translate

  • _meta.json275 B
  • SKILL.md2.4 KB

Overview

This skill translates text accurately while preserving formatting, placeholders, and structural elements. It handles plurals, gender, formality, and locale-specific conversions so translations read naturally in the target culture. It is built to avoid altering code, markup, or technical tokens and to keep consistent terminology across a document.

How this skill works

The skill inspects the full source text to detect and protect non-translatable regions such as code blocks, HTML tags, placeholders, URLs, and technical identifiers. It applies language-specific rules for plurals, gender agreement, and register, and performs cultural adaptations like unit and date conversion when appropriate. It also generates or enforces a glossary for repeated terms to maintain consistency and verifies that formatting remains functional after translation.

When to use it

  • Localizing product documentation while keeping code samples and API endpoints intact
  • Translating marketing copy that requires correct tone and cultural adaptation
  • Converting user interface strings with correct pluralization and formality
  • Preparing multilingual legal or business content where precision and consistent terminology matter

Best practices

  • Scan the entire document before translating to capture context and ambiguous terms
  • Protect placeholders and code blocks by marking them as non-translatable tokens
  • Create and reuse a glossary for brand names, technical terms, and preferred translations
  • Choose formality and pronoun usage based on the audience and locale, document the choice
  • Perform a post-translation pass to verify formatting, links, numbers, and cultural conversions

Example use cases

  • Localize developer docs: preserve code samples, endpoints, and JSON keys while translating descriptions
  • Translate a marketing campaign: adapt idioms, currency, and date formats to target markets
  • Prepare app UI strings: ensure correct plurals and gender agreement in labels and messages
  • Convert blog posts: keep markdown structure, links, and headings intact while adapting tone
  • Archive multilingual backups: maintain original formatting and placeholders for future restores

FAQ

No. Code blocks, markup, placeholders like {name} or %s, URLs, and technical identifiers are preserved exactly as non-translatable elements.

How does the skill handle plurals and gender?

It applies target-language pluralization rules and enforces noun-adjective agreement in gendered languages, using context to choose the correct forms.

Can it convert units and date formats automatically?

Yes. The skill can convert units and adapt date and number formats to the target locale when cultural conversion is appropriate and requested.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational