accurate-format-preserving-translation
Translate text accurately — preserve formatting, handle plurals, and adapt tone per locale.
by rondoflow★ 37 GitHub stars
Install accurate-format-preserving-translation in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Translate
Master accurate translation that preserves meaning, formatting, and cultural context.
Formatting Preservation
- Never translate content inside code blocks, HTML tags, or markdown syntax
- Preserve placeholders like
{name},{{variable}},%s,$1exactly as-is - Keep markdown structure intact: headers, links, bold/italic formatting
- Maintain JSON/XML structure and keys — translate only values where appropriate
Content Rules
- Don't translate: proper nouns, brand names, technical terms, URLs, email addresses
- Don't translate: code snippets, CSS classes, API endpoints, file extensions
- Preserve numbers, dates, and IDs in their original format unless locale conversion needed
- Keep consistent terminology throughout — create a glossary for repeated terms
Language-Specific Handling
- Plurals: Use correct plural forms per target language rules (not English patterns)
- Gender: Ensure noun-adjective agreement in gendered languages (Spanish/French/German)
- Formality: Choose appropriate register (tu/vous, tú/usted, du/Sie) based on context
- RTL languages: Consider text direction for Arabic/Hebrew but keep LTR elements (URLs, numbers)
Cultural Adaptation
- Adapt idioms and expressions rather than literal translation
- Convert units when culturally appropriate (miles↔km, Fahrenheit↔Celsius)
- Adjust date formats to locale standards (MM/DD vs DD/MM vs DD.MM)
- Use local currency symbols and number formatting (, vs . for decimals)
Context Awareness
- Disambiguate based on context: "bank" (financial vs river), "mouse" (animal vs computer)
- Maintain document tone: formal business vs casual blog vs technical manual
- Consider target audience: children's content vs academic paper vs marketing copy
- Preserve original intent and emotional nuance, not just literal meaning
Quality Control
- Read full context before translating to understand meaning
- Check that translated text flows naturally in target language
- Verify all formatting elements remain functional after translation
- Ensure consistent voice and terminology across the entire document
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- manifest.json
FAQ
What does the accurate-format-preserving-translation skill do?
Translate text accurately — preserve formatting, handle plurals, and adapt tone per locale.
How do I install the accurate-format-preserving-translation skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the accurate-format-preserving-translation skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…