Prompts and context
Translation quality depends on what the model is told. This page says what Localize Large sends with a request to an AI provider.
What the model receives
Section titled “What the model receives”When you start an AI feature, the app sends the text you ask the AI to work on and its context:
- the segment;
- neighbouring segments;
- matching translation memory entries;
- glossary terms;
- your prompt instructions;
- any document you attach in the AI Assistant.
Your API key travels in the request header. Nothing is sent until you start an AI feature: translating a segment or a batch with AI, the AI Assistant, QuickTrans, AI proofreading or AI pre-annotation.
With Ollama on this computer, all of this stays on the computer.
Where prompts are kept
Section titled “Where prompts are kept”The AI prompts that ship with the app, and any you write, are files in the prompt library folder, %APPDATA%\LocalizeLarge\prompt_library\. You manage them on the AI tab. The system prompts are under Settings → System Prompts.
Writing good instructions
Section titled “Writing good instructions”- State the audience and the purpose in one sentence.
- Name what must not be translated: product names, UI strings quoted from a manual, legal terms kept in the source language.
- Give the register and the form of address (“use the formal you”).
Keep instructions short. Long instructions are sent with every request, cost tokens each time and are easy to contradict.
Attached documents
Section titled “Attached documents”Documents you attach in the AI Assistant are converted to text and kept in %APPDATA%\LocalizeLarge\workbench\ai_assistant\. This folder holds your content. Attaching images to segments is not available in the preview.
Each AI call is recorded in a monthly usage list on your computer: date, provider, model, token counts, estimated cost, project and file name, and language pair. It never holds the text sent or received. Tools → Token Usage & Costs shows the totals.
Prompts in quality packs
Section titled “Prompts in quality packs”A quality pack from the Professional edition can carry project instructions written for your content, so every translator in your team starts with the same prompt. See Quality packs.