Skip to content

Using AI translation effectively

AI translation in Locize is a first draft that gets better with the context you give it, and safer with the review you put behind it. This guide is the short version of what works: which context to set up, how to judge the results, and where to keep humans in the loop.

MT or AI?

  • Machine translation (MT) translates the text as it is, without your Locize glossary or style guide; DeepL on your own key also gets each key's context and can apply a glossary from your DeepL account (see what each provider receives). It is the right tool for short, unambiguous strings and for quick bulk pre-translation.
  • AI translation receives instructions and context with every request: your glossary, style guide, per-key context and language mapping. It handles tone, terminology and ambiguous strings better, and every AI translation gets a Quality Estimation score. MT output is not scored.

Both run on credits included in every paid plan. How a character price compares to a token price is explained in this FAQ.

How reliable is it?

For UI strings in widely used languages, AI translations with a glossary and style guide in place are usually close to publish-ready. Placeholders, plural forms and markup are protected: MT only touches the translatable parts of a parsed segment, AI providers are instructed to leave them untouched, and the checks flag whatever slips through.

Expect weaker results, and keep a human in the loop, for:

  • Languages with less training data, and regional variants of big languages without a language mapping (pt vs. pt-BR, de vs. de-CH).
  • Short, ambiguous strings without context ("Close", "Drive", "Post"): add a context note to the key. The AI reads the note, not the key name or a screenshot.
  • Legal and regulated content: terms, conditions, compliance texts, anything with liability attached.
  • Marketing copy where tone carries the message.

Every translation permanently stores its origin (human, MT or AI) as the segment's quality property, so AI output stays identifiable in the editor and in the history and is never silently mixed with human work.

  1. Glossary. Add your product terms with their approved translations, or let Locize suggest terms from your existing translations. Terms go into every AI request and are checked on every save.

  2. Style guide. Set tone, formality, audience and do's and don'ts once on More › Style guide, and override them per language where needed. Map language codes to locales in Settings › Translation (card Language mapping). Style guide

  3. Context. Write a context note for every key that is ambiguous: it goes into every AI request, the key name and screenshots do not. Screenshots and the in-context editor help the people who review. A coding agent connected over MCP can write the note from the code when it reports new keys, and look up a screenshot with get_screenshot_context.

  4. Quality Estimation with the Review AI workflow. Enable both in Settings › Translation: Quality estimation in the Machine and AI translation card, Review AI workflow in the Review card. Low-confidence AI translations become pending reviews with a critique and a suggested revision; confident ones are saved directly. In the editor, the needs review filter (under STATE) lists what is left to check.

  5. Start with one language. Filter the editor to one target language and run AI TRANSLATION on its Actions tab (bulk actions), have a native speaker check a sample, adjust glossary and style guide, then roll out to the other languages.

  6. Automate new keys. Enable the automatic translation workflow so new keys are translated as they arrive, with the same context and the same scoring. For languages where everything must pass a human, enable the regular review workflow for them.

Choosing the provider

  • Locize AI works out of the box and consumes the AI tokens included in your plan.
  • Your own key (OpenAI, Gemini, Mistral, Anthropic or Lara for AI, DeepL for MT) runs on your provider account with the model you choose, keeps the data flow under your own contract, and uses no Locize credits. Available on the Growth plan and above and on usage-based subscriptions. Store the key once per organization (Settings › Translation of the organization) to share it across projects.
  • Your own OpenAI-compatible endpoint. The OpenAI provider takes an optional base URL. Leave it empty to use OpenAI. Fill it in and Locize talks to that endpoint instead, with the model name as free text, which covers a self-hosted vLLM, LiteLLM, OpenRouter and anything else that speaks the chat completions API.
    • Give the base URL including the version path, for example https://inference.example.com/v1.
    • The endpoint must be reachable from the public internet over https, authenticated with the API key you store as a bearer token. Server-side translation runs from our workers in AWS eu-west-1, which have no fixed egress address, so authenticate with the token and not with an IP allowlist.
    • The editor calls the endpoint directly from the translator's browser, so your gateway has to allow the address you open Locize at as a CORS origin: https://www.locize.app, and https://locize.app if your team uses that one. The browser console will note the custom host against our report-only Content Security Policy; that notice is informational and blocks nothing.
    • Set the base URL per project, or once for your organization together with the key and a default model: every project on the organization's key then uses that endpoint.
  • Order. When several providers are configured, Locize tries your own AI keys first, then your DeepL key, then Locize AI, then Locize MT.
  • What happens when a provider fails. The keys it could not handle move on to the next provider in that order. With an OpenAI-compatible endpoint configured, Locize translates only with the providers you have set up and its own Locize AI and Locize MT. Switch those two off as well (their EDIT in Settings › Translation › Machine and AI translation) if nothing at all may leave your network; keys your endpoint could not handle then simply stay untranslated until it answers again. A failure is reported in the provider's configuration (its EDIT dialog in Settings › Translation) and in the Project health card on the project's Overview, and clears itself once the provider works again.