transcodefiles

Translate comments in C/C++, Python, Shell, qmake, SQL, and Lua source files in place.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/csgaokun/vscode_claude --skill transcodefiles
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: transcodefiles
Source: https://github.com/csgaokun/vscode_claude/tree/main/.github/skills/transcodefiles
Command: npx skills add https://github.com/csgaokun/vscode_claude --skill transcodefiles

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Transcodefiles translates only the comments in source code, preserving all code logic and syntax.

Core Features & Use Cases

  • In-place translation of comments for C/C++, Python, Shell, qmake, SQL, Lua, and more, with optional batch processing and resume support.
  • Supports append or replace translation modes, and preserves Doxygen/Javadoc tags and code identifiers to avoid breaking builds.
  • Use case: internationalize a codebase by translating comments to multiple languages without modifying source.

Quick Start

Run the tool on a directory or file to translate comments and write translations back to the source files in place.

Frequently Asked Questions about transcodefiles

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

FAQPage Schema
How do I translate code comments in source files without changing program logic?

To translate code comments without breaking program logic, you need a tool that isolates comment blocks while preserving all code identifiers and syntax. This Skill performs in-place translation of comments across C/C++, Python, Shell, SQL, and Lua files safely.

Does translating comments in place break Doxygen tags or code identifiers?

Translating comments in place does not break Doxygen tags or code identifiers when using a tool with safety checks that preserves them. This Skill explicitly protects Doxygen and Javadoc tags to avoid breaking builds during the comment translation process.

Can I batch process source code translation for C/C++ and Python files offline?

You can batch process source code translation for C/C++ and Python files offline using a portable, self-contained workflow. This Skill supports batch processing and runs locally without requiring external API dependencies or internet connectivity.

What is the best way to internationalize a codebase by translating comments to multiple languages?

The best way to internationalize a codebase by translating comments is using an automated tool that supports append or replace translation modes. This Skill enables translating comments into multiple languages while maintaining the original source code semantics.

How do I resume a large code comment translation job if it gets interrupted?

To resume a large code comment translation job after an interruption, you need a tool with built-in resume support and progress logging. This Skill provides robust safety checks and logs progress during translation, allowing batch jobs to resume seamlessly.

What are the limitations of using an offline tool to translate code comments in Shell and Lua scripts?

Limitations of using an offline tool to translate code comments in Shell and Lua scripts include potential edge cases with non-standard comment syntax. This Skill mitigates risks by enforcing in-place writes and preserving code identifiers, though complex nested comments may require manual review.