Prompts for translation tasks

AI and translation

Language models translate as well as they are instructed. Using examples, this guide shows how a prompt for a translation is structured, and where, for safety-relevant documentation, the limit lies beyond which a technical translation with revision is necessary.

By PRODOC Translations editorial team · Published on · Updated on · 3-minute read

What a prompt is

A prompt is the instruction you give to a language model such as ChatGPT. The more precisely it describes what the model is to do and in what context, the more useful the result. Two examples show the difference:

Prompt
What is the capital of France?
Prompt
Explain the cultural and historical significance of Paris as the capital of France.

The same applies to translations. In addition to the text, the model needs to know who the translation is for, in which language variant and with which terminology.

How prompts have changed

Early language models were given short commands. Today's models process detailed instructions covering target group, tone and subject area. For a translation, this looks as follows. In the past:

Prompt
Translate this sentence into German

Today:

Prompt
Translate this English text into German and adapt the marketing terminology so that it is understandable and appealing for the German market.

Four rules for translation prompts

Be clear and precise

State the source and target language and the type of text.

Prompt
Translate this technical text into German and make sure that the technical terminology remains correct.

Provide context

State which market the text is intended for, especially for languages with regional variants.

Prompt
Translate this text into Spanish, taking into account the regional differences between European Spanish and Latin American Spanish.

State requirements

Define what the translation must achieve. For contracts, this means the legal terms; for instructions, the terminology.

Prompt
Translate this contract into English and make sure that all legal terms are correct.

Specify role and style

A role helps the model to find the right wording and tone.

Prompt
You are a professional translator with experience in IT. Translate this technical report from English into German.

Prompts for specialist texts and advertising copy

Specialist texts need correct terminology; advertising copy needs a tone that resonates in the target country. Both can be requested in the prompt:

Prompt
Translate this scientific article on quantum physics into Spanish and make sure that the technical terminology remains correct.
Prompt
Translate this advertising copy into French and make sure that the tone appeals to readers in France.

Good prompt and bad prompt

A good prompt combines language, subject area, tone and choice of words:

Prompt
Translate the following technical report into German. Make sure that the IT-specific terms are rendered correctly and that the tone remains professional. For technical terms, use the commonly used German equivalents and avoid unnecessary anglicisms.

A bad prompt leaves the model guessing:

Prompt
Translate this text into German.

Questions from practice

How do I get the right technical terminology?

Name the subject area explicitly and, if possible, include a word list.

Prompt
Translate this medical report into English and make sure that all oncology terms are rendered correctly.

How long should a prompt be?

Long enough to state the language, text type and requirement. Too short, for example:

Prompt
Translate this text.

Better:

Prompt
Translate this technical report into French and make sure that all IT-specific terms remain correct. Use professional language typical of the industry.

How do I adapt the text to a target market?

Prompt
Translate this marketing text into Italian, adapting the regional language and tone so that it appeals to an Italian audience. Use idiomatic expressions that are common in Italy and make sure to include culturally relevant references.

Can one prompt cover several languages at once?

Yes, with a separate instruction for each language:

Prompt
Translate this text into French, Spanish and Chinese. Make sure that a formal tone is used in the French version, that informal expressions suited to the Latin American market are used in the Spanish version, and that the tone in the Chinese version is professional and clear, especially for the legal terms.

Where prompts are not enough

For internal texts, drafts and understanding documents in other languages, good prompts are a useful tool. For the operating instructions supplied with your product, that is not enough: nobody checks whether a safety warning is complete, whether a component has the same name in every chapter, or whether the model has invented a sentence.

For these texts, we work with machine translation in the translation system, with your terminology and with post-editing by a qualified specialist; safety instructions are translated and checked by humans. Find out more on the AI-assisted translation page.

In brief

Confidential documents do not belong in public chat tools. Check beforehand whether the provider uses inputs for training and where the data is processed.

Would you rather have it translated with revision?

We reply on the next working day. Phone +49 5321 7799 400, email info@prodoc.de

Request a quote