Translate for Openclaw

An advanced localization skill that translates text accurately while fully preserving programming structures, formatting, variables, and cultural nuances.

godferylindsay
v1.0.0
Apr 15, 2026
0
750
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install godfery-translate

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install godfery-translate using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Translate?

The Translate skill is a powerful capability designed for developers and localization experts who need to translate content without breaking code or formatting syntax. Unlike generic translators, this skill is optimized to protect code blocks, HTML tags, markdown layouts, and complex JSON/XML structures. By retaining placeholders like {name}, {{variable}}, and %s, it ensures that the translated assets remain fully functional in your development environments.

By leveraging this skill, developers can safely automate large-scale localization processes. It understands deep context, allowing it to adapt idioms, convert units, adjust date standards, and choose appropriate formality registers (such as tu vs vous). This makes it indispensable for deploying global applications, localizing technical documentation, and maintaining consistent brand voice across languages using reliable Openclaw Skills structures.

Translate Use Cases

  • Localizing App Interfaces: Translating UI files (JSON, XML, or Markdown) while preserving syntax, variable placeholders, and technical keys.
  • Technical Documentation Translation: Localizing READMEs, guides, and manuals without breaking code snippets, CLI tools, or API endpoint references.
  • Culturally-Adaptive Marketing Content: Adapting brand copy, idioms, and formatting (decimals, dates, currencies) to resonate perfectly with target locales.
  • Multi-language Customer Communications: Translating dynamic transactional emails containing technical variables without corrupting the backend placeholders.

How Translate Works

  1. Content Isolation: The skill parses the input text, identifying and locking down all non-translatable elements, including HTML tags, Markdown syntax, placeholders, URLs, and brand names.
  2. Context Analysis: It evaluates the document's overall tone, target audience, and language-specific requirements such as gender agreement and target formality registers.
  3. Linguistic Translation: It performs precise, context-aware translations, adapting idioms rather than performing literal conversions and ensuring plural structures match target language rules.
  4. Formatting Reconstruction: The localized text is reassembled, fully preserving the original file structures, variables, and code blocks in their exact positions.
  5. Quality Verification: The output is validated to ensure natural flow, absolute formatting integrity, and consistent terminology throughout.

Translate Setup

To enable and use the Translate skill within your environment, reference the skill definition in your configuration files.

Enable via Openclaw Skills Configuration

Add the following block to your project configuration or agent setup:

skills:
  - name: translate
    enabled: true
    config:
      default_target_language: "es"
      preserve_formatting: true
      glossary_path: "./locales/glossary.json"

Installation via CLI

If you are using the CLI tool, install the packages utilizing this skill:

openclaw install-skill translate

Translate Data Schema & Taxonomy

The Translate skill operates directly on strings or structured files and maintains strict compliance with local formats. Below is how it maps its technical handling:

Data Type / Element Handling Policy Example Input -> Output (ES)
Placeholders Preserved exactly {user_name} -> {user_name}
Markdown Bold/Italic Keep structure intact **Bold text** -> **Texto en negrita**
JSON Keys Never translate keys 'title': 'Hello' -> 'title': 'Hola'
Dates Format adapted to locale 12/25/2023 -> 25/12/2023
Currencies Adapt when appropriate $10.00 -> 10,00 €
Code Blocks Untranslated const x = 5; -> const x = 5;

Translate Advanced Features

  • Smart Variable Locking: Automatically locks placeholders, API endpoints, and HTML blocks so language processing engines never corrupt functional system tags.
  • Dynamic Tone Adaptability: Allows you to set predefined registers (formal vs. casual) to automatically shift language pronouns and verbs correctly per locale rules.
  • Glossary Injection: Support for custom CSV/JSON glossaries to enforce consistent translation of specific technical terms and brand-specific naming conventions.
  • Multi-Agent Translation Chains: Seamlessly chains into document parsing pipelines as part of broader Openclaw Skills workflows for automated content operations.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*