language-translate

Translate text and code between languages while preserving formatting and structure.

2|Updated Mar 10, 2026
One-click install
npx skills add https://github.com/tim-hub/powerball --skill language-translate
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: language-translate
Source: https://github.com/tim-hub/powerball/tree/main/personal/skills/language-translate
Command: npx skills add https://github.com/tim-hub/powerball --skill language-translate

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Translates text across languages while preserving original formatting and structure, reducing manual rework for multilingual content.

Core Features & Use Cases

  • Automatically detects the source language and translates to a user-specified target language.
  • Preserves Markdown syntax and keeps code blocks intact, translating only comments and docstrings.
  • Supports plain text, Markdown, and mixed content such as code samples, ensuring output retains the input layout.

Quick Start

Provide the source text and the target language, and the skill will translate it while preserving the original format.

Frequently Asked Questions about language-translate

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I translate Markdown text while preserving the original format and structure?

To translate Markdown text while preserving format, provide the source text and target language. The skill automatically detects the source language and outputs translated text with original Markdown syntax and layout intact.

Can I translate code comments and docstrings without changing the actual code?

Yes, you can translate code comments and docstrings without changing identifiers or paths. The skill preserves code syntax by translating only comments and docstrings, keeping the rest of the code block unchanged.

How does automatic source language detection work for multilingual translation?

Automatic source language detection works by analyzing the provided input text to identify its language, allowing you to simply specify the desired target language for the translation without needing to declare the source.

What is the best way to translate plain text and mixed code samples for multilingual documentation?

The best way to translate mixed plain text and code samples is to process the entire content block together. The skill supports mixed content, ensuring output retains the input layout while translating text and code comments.

Does multilingual translation work with mixed content containing both Markdown and code blocks?

Yes, multilingual translation works with mixed Markdown and code blocks. The skill processes mixed content by keeping code blocks intact and translating only the surrounding text, comments, and docstrings while preserving the structure.