Translation Prompt and Glossary
Editing the prompt and the glossary are available in PRO. The free plugin uses a built-in prompt, shown read-only.
These apply to language models (OpenAI, Gemini, Claude, a custom endpoint). Machine-translation engines (Google Translate, MyMemory, DeepL) do not take a prompt; DeepL does use the glossary. While the site is connected to LATW Cloud, the prompt and glossary are set in your LATW account instead.
#Website description (free)
Settings → General → Website Description: a sentence or two about the site. It reaches the model as context.
#The prompt
Settings → Translation → Translation Prompt. With PRO it is an editable field with a Reset to default prompt button. Variables filled in at translation time:
{{source_language}}— name of the source language{{destination_language}}— name of the target language{{website_context}}— your Website Description{{plural_guidance}}— instructions for languages with more than two plural forms{{glossary}}— the glossary entries for the language pair (PRO)
If you remove a variable, a warning under the field says what the model will no longer know. Removing {{destination_language}} leaves it unable to tell which language to write.
#The glossary
AI Loco Translator → Glossary locks terms (brand names, product names, vocabulary) to a fixed translation per language, or keeps them untranslated by leaving the translation empty.
- Add Glossary Entry with the term, the target language, its translation and an optional description.
- Entries are matched on the language pair; regional codes are normalized, so
pl_PLuses entries forpl. - Import CSV and Export CSV. Columns:
original_language_code,target_language_code,original_term,translated_term,description. Onlyoriginal_termandtarget_language_codeare required. The same CSV works in LATW for WPML. - With DeepL, entries are uploaded as a DeepL glossary per language pair.
#Fuzzy strings (PRO)
When a plugin changes the wording of a string, Loco Translate keeps the old translation and marks it fuzzy. Settings → Translation → Fuzzy Strings → Translate fuzzy strings again (on by default) makes Translate send those strings as well.
#If PRO expires
The prompt is shown read-only and the built-in one is used; your wording is kept and comes back with the licence. The glossary screen locks but nothing is deleted.