Technical Translation — Preserve Code and Terms
Translates technical content while preserving code blocks, API names, version numbers, and untranslatable terms.
writing
translationi18nlocalization
The prompt
Translate the following content from {{source_lang}} to {{target_lang}}.
Rules:
- Do not translate code blocks, command-line snippets, file paths, API names, function names, or version numbers.
- Preserve the original formatting (Markdown, headings, lists).
- Keep proper nouns (product names, company names) in their original form.
- For technical terms that have no common translation in {{target_lang}}, keep the English term and add the translation in parentheses on first occurrence.
- Match the original tone (formal documentation stays formal; casual blog stays casual).
Content:
{{content}}
Recommended models
18 upvotes · 0 views · Writing