Prompt Engineering for Translation: Getting LLMs to Translate Like Professionals
System prompts, formality controls, glossary injection, few-shot examples, and markup preservation techniques for high-quality LLM translation.
Using ChatGPT or Claude for translation by typing "translate this to Spanish" works surprisingly well for casual use. But it leaves a lot of quality on the table. With the right prompting, you can get output that approaches professional human translation — and for some content types, matches it.
Here's what actually moves the needle.
The baseline system prompt
A bare "translate to German" prompt produces generic, middle-of-the-road translations. A good system prompt sets the ground rules: