Skip to content
Marketing
Skill

/language-config

Configure language settings. Use when: setting primary languages, do-not-translate terms, or locale formatting.

From plugin
digital-marketing-pro
727158 skills24 agents18 commands
Install
$ npx -y skills add indranilbanerjee/digital-marketing-pro --skill language-config --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/language-config

Context preview

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

Configure language settings. Use when: setting primary languages, do-not-translate terms, or locale formatting.

SKILL.md

language-config.SKILL.md
name: language-config
description: "Configure language settings. Use when: setting primary languages, do-not-translate terms, or locale formatting."

/digital-marketing-pro:language-config

Purpose

Configure and manage multilingual settings for the active brand. This command controls the language infrastructure that powers all translation, localization, and multilingual audit commands in the plugin. It sets the primary content language (the source language for all translations), secondary and target languages (which markets and languages the brand operates in), do-not-translate terms (brand names, product names, trademarked phrases, and technical terms that must appear identically in every language), preferred translation service per language (routing to the optimal MCP for each language pair), and locale-specific formatting rules (date, number, currency, measurement formats per market).

This configuration persists in the brand profile and is referenced by every multilingual command — translate, transcreate, multilingual-score, language-audit, hreflang-check, and any content creation targeting non-primary languages. Getting this configuration right upfront prevents repeated corrections downstream and ensures consistent multilingual output across all workflows.

Input Required

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

  • **Configuration action**: What to do — `view` (display all current language settings), `set-primary` (change the primary/source language), `add-language` (add a secondary/target language), `remove-language` (remove a secondary language), `add-dnt` (add a do-not-translate term), `remove-dnt` (remove a do-not-translate term), `set-translation-pref` (set preferred translation service for a language), `set-locale-format` (set locale-specific formatting for a language-region), or `reset` (restore language config to defaults)
  • **Language code** (for language actions): ISO 639-1 language code with optional ISO 3166-1 region (e.g., `en`, `en-US`, `de-DE`, `hi-IN`, `ja-JP`, `pt-BR`). Required for set-primary, add-language, remove-language, set-translation-pref, and set-locale-format actions
  • **Term** (for DNT actions): The exact term to add or remove from the do-not-translate list. Required for add-dnt and remove-dnt. Can be a single term or a comma-separated list of terms to add/remove in batch
  • **Translation service** (for set-translation-pref): The preferred translation MCP for the specified language — one of `deepl` (best for European languages), `sarvam-ai` (best for Indic languages), `google-cloud-translation` (broadest language coverage), or `lara-translate` (best for marketing/creative context preservation). Required for set-translation-pref action
  • **Formatting preferences** (for set-locale-format): Locale-specific format settings — `date_format` (e.g., DD/MM/YYYY, MM/DD/YYYY, YYYY-MM-DD), `number_format` (decimal and thousands separators, e.g., "1,234.56" or "1.234,56"), `currency_format` (symbol position and spacing, e.g., "$1,234" or "1.234 EUR"), `measurement` (metric or imperial). Any subset can be provided; omitted fields retain current values

Process

1. **Load brand context**: Read `~/.claude-marketing/brands/_active-brand.json` for the active slug, then load `~/.claude-marketing/brands/{slug}/profile.json`. Apply brand voice, compliance rules for target markets (`skills/context-engine/compliance-rules.md`), and industry context. Also check for guidelines at `~/.claude-marketing/brands/{slug}/guidelines/_manifest.json` — if present, load restrictions. 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. **Read current language configuration**: Extract the `language` object from `profile.json` containing `primary_language`, `secondary_languages`, `content_languages`, `do_not_translate`, `translation_preferences`, and `locale_formatting`. If the language object does not exist yet (new brand or pre-multilingual setup), initialize it with sensible defaults: primary_language set to "en", empty arrays for secondary_languages and do_not_translate, and empty objects for translation_preferences and locale_formatting. 3. **For view action**: Display all current language settings in a clear, structured format — primary language with full name (e.g., "en-US: English (United States)"), all secondary languages with full names, the complete do-not-translate term list, translation service preferences per language (showing which MCP handles each), locale formatting rules per language-region, and a summary of which translation services are configured versus using auto-routing defaults. 4. **For set-primary action**: Validate the provided language code against ISO 639-1 (and ISO 3166-1 if region included). Check that the language is supported by at least one configured translation MCP via `language-router.py --action supported-languages`. Update `profile.json` field `language.primary_language` to the new value. If the old primary language is not already in secondary_languages and the user has content in it, suggest adding it as a secondary language to maintain existing translations. 5. **For add-language / remove-language actions**: Validate the language code. For add: append to both `language.secondary_languages` and `language.content_languages` arrays (avoiding duplicates). Recommend a translation service for the new language based on language-router.py routing logic (DeepL for European, Sarvam AI for Indic, Google Cloud for others) and prompt the user to confirm or override. Provide default locale formatting for the language-region. For remove: remove from both arrays, warn if content exists in this language (it will no longer be targeted by multilingual commands), and ask for confirmation before removing. 6. **For add-dnt / remove-dnt actions**: Validate that terms are non-empty strings. For add: append each term to `language.do_

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