Translate while keeping terminology fixed

Translates text while leaving a named glossary of terms untouched - useful for documentation and interfaces.

AI Place Hub 1
PromptCopied
Translate the text below from {{source_lang}} into {{target_lang}}.

Keep these terms exactly as they are, in every occurrence, without translating or declining them:
{{glossary}}

Rules:
- Match the register of the original. Documentation stays documentation.
- Keep all markup, placeholders and variable names untouched.
- Where the target language has no established term, keep the original and add the translation once in brackets on first use.
- Return only the translation.

--- text ---
{{text}}

Fill these in

PlaceholderWhat goes hereExample
{{source_lang}} Source language English
{{target_lang}} Target language Slovak
{{glossary}} Fixed terms context window, prompt injection, embedding
{{text}} Text to translate a documentation section

Notes from the author

The declension rule matters for Slavic target languages, where a model will otherwise inflect your product names. Check the first paragraph before trusting a long run.

Fork

Did this work for you?

Sign in to flag it

Tagged

Related