{"id":252,"date":"2026-11-18T17:19:04","date_gmt":"2026-11-18T17:19:04","guid":{"rendered":"https:\/\/docs.latw.ai\/uncategorized\/translation-prompt-4\/"},"modified":"2026-11-18T17:19:04","modified_gmt":"2026-11-18T17:19:04","slug":"translation-prompt-4","status":"publish","type":"post","link":"https:\/\/docs.latw.ai\/pl\/latw-for-loco\/translation-prompt-4\/","title":{"rendered":"Translation Prompt and Glossary"},"content":{"rendered":"<p><em>Editing the prompt and the glossary are available in PRO.<\/em> The free plugin uses a built-in prompt, shown read-only.<\/p>\n<p>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.<\/p>\n<h2>Website description (free)<\/h2>\n<p><strong>Settings \u2192 General \u2192 Website Description<\/strong>: a sentence or two about the site. It reaches the model as context.<\/p>\n<h2>The prompt<\/h2>\n<p><strong>Settings \u2192 Translation \u2192 Translation Prompt<\/strong>. With PRO it is an editable field with a <strong>Reset to default prompt<\/strong> button. Variables filled in at translation time:<\/p>\n<ul>\n<li><code>{{source_language}}<\/code> \u2014 name of the source language<\/li>\n<li><code>{{destination_language}}<\/code> \u2014 name of the target language<\/li>\n<li><code>{{website_context}}<\/code> \u2014 your Website Description<\/li>\n<li><code>{{plural_guidance}}<\/code> \u2014 instructions for languages with more than two plural forms<\/li>\n<li><code>{{glossary}}<\/code> \u2014 the glossary entries for the language pair (PRO)<\/li>\n<\/ul>\n<p>If you remove a variable, a warning under the field says what the model will no longer know. Removing <code>{{destination_language}}<\/code> leaves it unable to tell which language to write.<\/p>\n<h2>The glossary<\/h2>\n<p><strong>AI Loco Translator \u2192 Glossary<\/strong> locks terms (brand names, product names, vocabulary) to a fixed translation per language, or keeps them untranslated by leaving the translation empty.<\/p>\n<ul>\n<li><strong>Add Glossary Entry<\/strong> with the term, the target language, its translation and an optional description.<\/li>\n<li>Entries are matched on the language pair; regional codes are normalized, so <code>pl_PL<\/code> uses entries for <code>pl<\/code>.<\/li>\n<li><strong>Import CSV<\/strong> and <strong>Export CSV<\/strong>. Columns: <code>original_language_code<\/code>, <code>target_language_code<\/code>, <code>original_term<\/code>, <code>translated_term<\/code>, <code>description<\/code>. Only <code>original_term<\/code> and <code>target_language_code<\/code> are required. The same CSV works in LATW for WPML.<\/li>\n<li>With DeepL, entries are uploaded as a DeepL glossary per language pair.<\/li>\n<\/ul>\n<h2>Fuzzy strings (PRO)<\/h2>\n<p>When a plugin changes the wording of a string, Loco Translate keeps the old translation and marks it fuzzy. <strong>Settings \u2192 Translation \u2192 Fuzzy Strings \u2192 Translate fuzzy strings again<\/strong> (on by default) makes <strong>Translate<\/strong> send those strings as well.<\/p>\n<h2>If PRO expires<\/h2>\n<p>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.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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,\u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_latwm_translated_slug":"","footnotes":""},"categories":[21],"tags":[],"class_list":["post-252","post","type-post","status-publish","format-standard","hentry","category-latw-for-loco"],"_links":{"self":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/252","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/comments?post=252"}],"version-history":[{"count":1,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/252\/revisions"}],"predecessor-version":[{"id":259,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/posts\/252\/revisions\/259"}],"wp:attachment":[{"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/media?parent=252"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/categories?post=252"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.latw.ai\/pl\/wp-json\/wp\/v2\/tags?post=252"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}