Skip to content
Marketing
Skill

/translate-content

Translate marketing content. Use when: localizing with brand voice preservation, quality scoring, or transcreation.

From plugin
digital-marketing-pro
727158 skills24 agents18 commands
Install
$ npx -y skills add indranilbanerjee/digital-marketing-pro --skill translate-content --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/translate-content

Context preview

The summary Claude sees to decide when to auto-load this skill.

Translate marketing content. Use when: localizing with brand voice preservation, quality scoring, or transcreation.

SKILL.md

translate-content.SKILL.md
name: translate-content
description: "Translate marketing content. Use when: localizing with brand voice preservation, quality scoring, or transcreation."
argument-hint: "[target-language]"

/digital-marketing-pro:translate-content

Purpose

Translate marketing content with intelligent service routing and quality assurance. This command automatically selects the best translation service based on the target language — Sarvam AI for Indic languages (Hindi, Tamil, Bengali, etc.), DeepL for European languages (German, French, Spanish, etc.), Google Cloud Translation for broad coverage, and Lara Translate for specialized needs — preserving brand voice, formatting, and key terminology throughout.

Beyond literal translation, this command analyzes content for elements that require transcreation rather than translation: idioms, wordplay, humor, emotional calls-to-action, and cultural references. When these are detected (or when the user explicitly requests transcreation), it produces multiple creative options with intent-preservation scoring, ensuring the emotional impact and marketing effectiveness carry across languages. Every translation is quality-scored and brand-voice-checked before delivery.

Input Required

The user must provide (or will be prompted for):

  • **Content to translate**: Text inline, file path, or pasted content block. Can be a single piece (headline, email, ad copy) or a structured document (landing page, email template with sections)
  • **Target language(s)**: One or more target languages — accepts language codes (hi, de, ja, fr-CA, pt-BR) or plain names (Hindi, German, Japanese, Canadian French, Brazilian Portuguese). Multiple targets can be specified for batch translation
  • **Source language**: Optional — the language of the original content. Auto-detected via language-router.py if omitted
  • **Transcreation flag**: Optional — set to `true` to force transcreation approach on all content, regardless of content analysis. Useful when the user knows the content is highly creative or culturally sensitive
  • **Do-not-translate terms**: Optional — specific terms, product names, or brand elements that must remain in the source language. Overrides any do-not-translate list already defined in the brand profile
  • **Formality level**: Optional — `formal` or `informal`. Supported by DeepL for languages with formal/informal registers (German Sie/du, French vous/tu, etc.). If omitted, defaults to brand profile preference or formal
  • **Glossary entries**: Optional — term pairs (source: target) to enforce specific translations for key terminology. Supplements any brand-level glossary

Process

1. **Load brand context**: Read `~/.claude-marketing/brands/_active-brand.json` for the active slug, then load `~/.claude-marketing/brands/{slug}/profile.json`. Extract language configuration — `do_not_translate` term list, `translation_preferences` (preferred services per language pair, formality defaults, glossary), and `locale_formatting` rules (date formats, number separators, currency symbols). Load compliance rules for target markets from `skills/context-engine/compliance-rules.md`. Check for guidelines at `~/.claude-marketing/brands/{slug}/guidelines/_manifest.json` — if present, load voice-and-tone rules (these inform brand voice scoring of the translation). Check for agency SOPs at `~/.claude-marketing/sops/`. If no brand exists, ask: "Set up a brand first (/digital-marketing-pro:brand-setup)?" — or proceed with defaults. 2. **Detect source language**: If the source language was not specified, run `python "${CLAUDE_PLUGIN_ROOT}/scripts/language-router.py" --action detect --text "{content_or_path}"` to identify the source language with confidence score. Report the detected language to the user for confirmation if confidence is below 95%. 3. **Route to optimal translation service**: For each target language, run `python "${CLAUDE_PLUGIN_ROOT}/scripts/language-router.py" --action route --source "{source_lang}" --target "{target_lang}"` to select the best translation service. The router considers language pair quality, service specialization (Sarvam AI for Indic languages, DeepL for European languages with formality support, Google Cloud for broad coverage), and any brand-level service preferences. Report the selected service to the user. 4. **Analyze content for transcreation needs**: Scan the source content for elements that resist literal translation — idioms and colloquialisms, wordplay or puns, humor and sarcasm, emotional CTAs and slogans, cultural references and analogies, rhyme or rhythm patterns, double meanings. If the transcreation flag is set or the content contains significant transcreation-requiring elements, prepare a transcreation brief using the methodology defined in `skills/context-engine/transcreation-framework.md`. For each flagged element, document the original intent, emotional tone, and desired audience response to guide creative adaptation. 5. **Execute translation**: Call the routed translation MCP server for each target language:

  • For DeepL: Use the `deepl` MCP server with formality parameter, glossary entries, and tag handling for HTML/XML preservation
  • For Sarvam AI: Use the `sarvam-ai` MCP server with script and dialect preferences for Indic languages
  • For Google Cloud: Use the `google-cloud-translation` MCP server with model selection (NMT) and glossary
  • For Lara Translate: Use the `lara-translate` MCP server with domain-specific model selection
  • Pass do-not-translate terms (merged from brand profile and user-provided list), formality settings, glossary entries, and any formatting preservation flags (HTML tags, placeholders like {{first_name}}, Markdown syntax)

6. **Score translation quality**: Run `python "${CLAUDE_PLUGIN_ROOT}/scripts/language-router.py" --action score --source "{source}" --target "{target}" --original "{source_content}" --translated "{translated_content}"` to assess quality across dimensions:

  • Length rat
Read more
Ships withdigital-marketing-pro

Your agency just signed a 50-brand client. The previous agency left no playbook. Three brands are bleeding budget, two have stale positioning, one is launching in a regulated jurisdiction next month. Where do you start?

Get the whole plugin