Skip to main content
ClaudeWave
Skill2.1k repo starsupdated 7d ago

blog-localize

Blog Localize transforms translated blog posts into culturally native content by replacing examples, adjusting tone, swapping foreign references, and applying local statistics and brand context. Use it after machine translation completes to ensure the content reads as if originally written for the target market rather than translated into it, targeting specific locales like Germany, France, Spain, Brazil, or Taiwan with their distinct cultural profiles and linguistic conventions.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/AgriciDaniel/claude-blog /tmp/blog-localize && cp -r /tmp/blog-localize/skills/blog-localize ~/.claude/skills/blog-localize
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Blog Localize, Cultural Deep-Adaptation

Takes a translated blog post and performs cultural adaptation so the result
feels like it was written for the target market, not translated into it.
This is the layer above `blog-translate`: it replaces examples, adjusts
tone, swaps references, and localizes the entire reading experience.

> Adapted from `claude-blog-multilingual` by Chris Mueller (Pro Hub Challenge,
> March 2026). Original: https://github.com/Chriss54/multilingual-int

## Key References

- `../blog-translate/references/cultural-adaptation.md`, the shared cultural
  profiles file with substitution tables for DACH, Francophone, Hispanic,
  Japanese, and a custom template. Do not duplicate this file.

## When to Use

- Right after `blog-translate` produces a base translation.
- When existing translated content reads like "translated from English".
- When targeting a specific market, not just a language.
- When content needs local statistics, examples, and brand references.

## Workflow

### Phase 1: Locale Understanding

1. Parse the locale code with the shared multilingual locale rules used by
   `blog-translate`, `blog-multilingual`, and `blog-locale-audit`: ISO 639-1
   language in lowercase, optional ISO 15924 script in title case, optional
   ISO 3166-1 Alpha-2 region in uppercase. Accept full codes (`de-DE`,
   `fr-CA`, `es-MX`, `pt-BR`, `zh-Hant`) and unambiguous plain language codes
   (`de`, `fr`). Require a region or explicit neutral mode for ambiguous
   language-only targets such as `es`, `pt`, and `zh`.
2. Load the cultural profile from
   `../blog-translate/references/cultural-adaptation.md`.
   - If the locale has a profile, use it.
   - If not, follow the "Custom-locale template" section in that reference
     to build a minimal profile inline.
3. Read the translated post only after resolving it inside the project
   root/current working directory. Reject symlinked paths, traversal outside
   the root, files over 10 MB, and binary files. Then identify adaptation
   targets.

### Phase 2: Cultural Audit

Scan for elements that signal foreign origin:

| Element | What to look for |
|---------|------------------|
| Brand examples | US or UK brands with no relevance locally |
| Statistics sources | US-only studies and surveys |
| CTAs | American-style aggressive calls-to-action |
| Idioms | Literally translated English expressions |
| Legal references | Foreign laws (CCPA, FTC) where local law applies (DSGVO, RGPD) |
| Cultural references | Foreign holidays, events, customs |
| Currency and pricing | USD without conversion or context |
| Tone | Too casual or too formal for the target market |
| Address form | Inconsistent Sie/du, tu/vous, formal/informal |

Output an audit report listing every target with severity (critical,
recommended, optional).

### Phase 3: Adaptation

#### 3a. Example Substitution

Swap foreign examples for local equivalents:

- Use WebSearch to find local case studies, brands, or scenarios.
- Replace inline, preserving the same argument and structure.
- Record source URL, access date, and rationale for every non-obvious local
  replacement.
- If no local equivalent exists, keep the original but add local context
  ("In the German market, the equivalent dynamic is X").

#### 3b. Statistics Localization

- Use primary or high-quality local sources for replacement statistics:
  national statistics offices, regulators, official industry bodies, academic
  datasets, or named research reports with methodology.
- Do not rely on generic WebSearch snippets as evidence. Fetch the cited page,
  verify the figure and context, and record the source URL and date.
- Fetch cited pages only after SSRF checks: allow `https` URLs only; reject
  `javascript:`, `data:`, `file:`, localhost, loopback, private, link-local,
  multicast, and reserved IPs after DNS resolution; disable redirects or
  validate the final URL with the same checks; cap redirects, response size,
  and request time; log the final URL and access date.
- If local data exists with comparable methodology, swap the source and the
  figure together. Keep one named source per claim.
- If local data is related but uses a different methodology or timeframe, do
  not silently swap it. Keep the original claim scoped, or rewrite the claim to
  match the local source.
- If not, keep the original stat but mark its geographic scope ("In the
  US, ...").
- Never strip source attribution.

#### 3c. CTA Adaptation

Rewrite calls-to-action per the cultural profile:

- Adjust aggressiveness level (DACH and JA prefer informational, US prefers
  imperative).
- Use culturally appropriate action verbs.
- Adapt urgency framing.

#### 3d. Tone Calibration

- Match formality per profile (DACH defaults to Sie for B2B, du for B2C
  lifestyle; FR defaults to vous; JA shifts register sharply by audience).
- Ensure consistent formal or informal address throughout the entire
  document.
- Match local content-style conventions.

#### 3e. Legal and Regulatory Context

- Map legal references by issue and jurisdiction. Keep the original law when
  the claim is specifically about US compliance. Only substitute when the
  local law addresses the same issue, such as CCPA to DSGVO in DE, RGPD in
  FR, LGPD in BR, LFPDPPP in MX, Ley 1581 in CO, or Ley 25.326 in AR.
- Add local compliance notes where they help the reader.
- Remove irrelevant foreign regulatory references.

#### 3f. Brand Example Swaps (Quick Map)

Profiles in `../blog-translate/references/cultural-adaptation.md` provide
substitution tables. Common examples:

| Source (US) | DACH | FR | ES (Spain) | LATAM | JA |
|-------------|------|----|----|-------|----|
| Walmart | MediaMarkt | Carrefour | El Corte Inglés | Walmart MX | Aeon |
| Target | Saturn | Auchan | Hipercor | Liverpool | Ito-Yokado |
| FTC | Bundeskartellamt | DGCCRF | CNMC | PROFECO (MX) | JFTC |
| CCPA | DSGVO | RGPD | RGPD | LFPDPPP (MX), Ley 1581 (CO), Ley 25.326 (AR), LGPD (BR) | APPI |

### Phase 4: Qual