Back to guide/Education & Learning

Translation with Context

Adding context, formality level, and audience prevents the model from choosing the wrong register. A medical document needs different vocabulary than a marketing email, even in the same language pair.

zero-shot-promptingsource_languagetarget_languagecontext
Edit View
Prompt
Translate the following text from {{source_language}} to {{target_language}}.

Context: This text is from {{context}} and should use {{formality}} language appropriate for {{audience}}.

Text:
{{text}}

Translation:

Variables to customize

{{source_language}}{{target_language}}{{context}}{{formality}}{{audience}}{{text}}

Why this prompt works

Adding context, formality level, and audience prevents the model from choosing the wrong register. A medical document needs different vocabulary than a marketing email, even in the same language pair.

Save this prompt to your library

Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.