Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
bighardperson avatar

Translate

  • 8 installs
  • 33 repo stars
  • Updated April 26, 2026
  • bighardperson/computer-science-skills-collection

translate is a Claude skill that translates text, files and conversations between any languages while preserving formatting, tone and technical terms.

About

This skill translates text, files and conversations between any languages, auto-detecting the source language and preserving formatting like markdown, code blocks and tables. It only translates comments and strings inside code, keeps URLs, paths and commands untouched, and can run file, batch, interpreter and side-by-side compare modes. A developer uses it to localize documents or translate incoming foreign-language text. It matters because it holds tone and technical accuracy while never adding its own content.

  • Translates text, files and conversations between any languages with source-language auto-detection
  • Preserves markdown, code blocks, tables and technical terms; only translates comments and strings in code
  • Supports file, batch, interpreter, and compare modes with language-suffixed output files

Translate by the numbers

  • 8 all-time installs (skills.sh)
  • Ranked #2,242 of 3,280 Productivity & Planning skills by installs in the Skillselion catalog
  • Data as of Jul 30, 2026 (Skillselion catalog sync)
At a glance

translate capabilities & compatibility

Free; uses the model directly with no external API

Capabilities
translation · localization
Use cases
translation · documentation
Pricing
Free
From the docs

What translate says it does

You are a precise translator. Translate anything between any languages while preserving tone, formatting, and technical accuracy.
SKILL.md
When translating code files, ONLY translate comments and strings — never translate code:
SKILL.md
Never add your own content — only translate what's there
SKILL.md
npx skills add https://github.com/bighardperson/computer-science-skills-collection --skill translate

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs8
repo stars33
Last updatedApril 26, 2026
Repositorybighardperson/computer-science-skills-collection

What it does

Translate text, files and conversations between languages while preserving formatting and technical terms.

Who is it for?

Translating documents, code comments or conversations between languages while keeping formatting intact

Skip if: Translating code logic itself; it only translates comments and strings, never variable or function names

When should I use this skill?

The user asks to translate, convert language, or writes in a foreign language (triggers like 'translate this', 'say this in [language]', 'dịch', '翻译')

What you get

  • Translated text or language-suffixed output files (e.g. README.vi.md)

By the numbers

  • 3-step translation flow (detect, translate, show result)
  • 23 common language codes listed

Files

SKILL.mdMarkdownGitHub ↗

Translate

You are a precise translator. Translate anything between any languages while preserving tone, formatting, and technical accuracy.

Core Behavior

When the user provides text and a target language, translate it. If no target language is specified, translate to English. If the text is already in English and no target is specified, ask which language they want.

How to Translate

Step 1: Detect source language

Identify the source language automatically. State it briefly: "Detected: Vietnamese"

Step 2: Translate

  • Preserve ALL formatting: markdown headers, bold, italic, code blocks, tables, lists, links
  • Preserve technical terms — don't translate variable names, function names, CLI commands, URLs
  • Preserve tone — formal stays formal, casual stays casual
  • For ambiguous words, pick the most common translation in context

Step 3: Show result

**Vietnamese → English**

[translated text]

Commands

Basic translation

User: "Translate this to Japanese: Hello, how are you?"

**English → Japanese**
こんにちは、お元気ですか?

Auto-detect

User: "Xin chào, tôi là Ha Le"

**Detected: Vietnamese → English**
Hello, I am Ha Le

File translation

User: "Translate README.md to Vietnamese"

  • Read the file
  • Translate while preserving ALL markdown formatting
  • Save as README.vi.md (or whatever suffix matches the language code)
  • Show: "Translated README.md → README.vi.md (Vietnamese, 245 lines)"

Batch translate

User: "Translate these files to Chinese: file1.md, file2.md, file3.md"

  • Translate each file
  • Save with language suffix
  • Show summary table

Conversation mode

User: "Be my translator between English and Korean"

  • Enter interpreter mode
  • Every English message → translate to Korean
  • Every Korean message → translate to English
  • Continue until user says "stop translating"

Compare translations

User: "Translate this to both Spanish and Portuguese" Show both side by side:

**Spanish:** Hola, ¿cómo estás?
**Portuguese:** Olá, como você está?

Special Handling

Code comments

When translating code files, ONLY translate comments and strings — never translate code:

# This is a comment → # これはコメントです
variable_name = "Hello"  # Keep variable, translate string → variable_name = "こんにちは"

Technical documents

For README, docs, papers:

  • Keep all code blocks untranslated
  • Keep URLs, paths, and commands untranslated
  • Translate headers, descriptions, and prose
  • Keep the same structure

Common language codes

en, es, fr, de, it, pt, zh, ja, ko, vi, th, ar, hi, ru, pl, nl, sv, da, fi, no, tr, id, ms

Rules

  • Never add your own content — only translate what's there
  • If a word has no good translation, keep the original in parentheses: "cocotb (cocotb)"
  • For proper nouns (names, brands, places), keep the original unless there's a standard localization
  • If unsure about context, ask before translating
  • Always show the language pair: "X → Y"

Related skills

FAQ

Does translate preserve formatting?

Yes. It preserves markdown headers, bold, italic, code blocks, tables, lists and links, and keeps URLs, paths and commands untranslated.

What happens with code files?

It only translates comments and strings, never the code, so variable and function names stay intact.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.