Translate any text file content to a target language while preserving the integrity of code elements and special formatting.
Translate any text file content to a target language while preserving the integrity of code elements and special formatting.
French, Spanish, German, Japanese)..ts, .js, .py, .java, , …).go| Action | Targets |
|---|---|
| DO NOT translate | Function names, class names, variable names, method names, import/export statements, package names, type names, interfaces, enum keys, constant identifiers, reserved keywords, library/framework-specific terms |
| DO translate | Comments (single-line and multi-line), string literals containing user-facing text, documentation blocks (JSDoc, docstrings, etc.), error messages intended for end users, console log messages (when appropriate) |
.md)| Action | Targets |
|---|---|
| DO NOT translate | Code blocks (inline and fenced), URLs and link targets, file paths, badges/shields, HTML tags and attributes, anchor links, image alt text used as identifiers, YAML/TOML frontmatter keys, custom admonition types |
| DO translate | Headings, paragraphs and prose, list items (text content only), table content, link display text, image captions, YAML/TOML frontmatter values (human-readable descriptions) |
.json, .yaml, .toml, …)| Action | Targets |
|---|---|
| DO NOT translate | Keys/property names, technical values (paths, URLs, identifiers), boolean values, numeric values |
| DO translate | Description fields, user-facing message values, comment blocks |
| Action | Targets |
|---|---|
| DO NOT translate | Tag names, attribute names, CSS class names, IDs, script content |
| DO translate | Text content between tags, alt attributes, title attributes, placeholder text, aria-label values |