Connect MT engines, route each target language to one with an MT router, and pre-translate with TM first and MT second.
Machine translation (MT) fills in a first draft of every segment that the translation memory cannot cover. For the order in which memory and MT run, see How a translation flows.
The MT page in the left menu has three tabs: Routers, Engines and Prompts, plus Logs when your server keeps a log of AI requests. The Engines tab lists everything your organization can translate with.
| Kind | Examples | Where it is set up |
|---|---|---|
| Provider engines | DeepL, Google Translate | Engines tab, from a key you add on Integrations |
| LLM translation engines | A large language model from OpenAI, Claude, Google Gemini or Microsoft Azure, with a prompt | LLM on the Engines tab |
A large language model (LLM) is an AI model that follows written instructions. As an MT engine it translates with a prompt you choose, which lets you shape tone and terminology.
Engines that check a translation are not MT engines, so they are not in either list. A QE+APE engine runs inside a workflow step instead: it approves the machine translations a professional would accept and post-edits the rest. See Quality estimation and Hybrid and AI steps.
Some deployments also supply built-in engines. Your organization gets them when it is created, and they are yours from then on: open one to rename it or switch it off, and delete it if you do not want it. You cannot change which provider it uses, and it needs no key: its page on Integrations has nothing to set up.
A key the provider refuses later reads Rejected.
Add one key for each account you hold with the provider. A key translates nothing on its own — an MT engine is what uses it. Keys on a provider's Assistant row (for example Claude · Assistant) serve only the built-in chat; engines use the keys on the provider's own row.
When engines of that provider have no key, saving a new key opens a dialog that lists them. Engines the key can run are ticked; an engine it cannot run is greyed out with the reason, for example "This key cannot use gpt-3." Click Use this key to give the key to the ticked engines, or Skip to leave them as they are.
You can remove a key at any time, and you do not have to change the engines first. The confirmation names the engines that use the key. Each one keeps its name, its options and its place in every router, and is marked No key until you choose another key for it. An engine marked that way stops translating, and a job that reaches it fails with a message that names the engine and tells you to choose a key for it in MT → Engines (for a QE+APE engine, AI → Engines).
Each row shows the engine's name and the key it uses; click the row to change it. One key can back several engines that differ only in their options — one formal and one informal, say — and an MT router then sends each target language to the one it should use. Deleting an engine asks you to confirm; an engine an MT router routes to cannot be deleted until you change those routes.
On the Engines tab, click the engine and turn Enabled off, then Update. A switched-off engine stops translating but stays in its routers, so you can switch it back on later; its row is marked Off until you do. Any owner, admin or project manager can do this.
You need an OpenAI, Claude, Google Gemini or Microsoft Azure key on Integrations first.
For Microsoft Azure, the key also needs its deployments listed: see Connect Microsoft Azure.
An LLM engine sends segments to the model in batches. In the engine's model settings, Segments per request (1 to 30, default 10) and Characters per request (1,000 to 60,000, default 12,000) cap a batch; it closes when it reaches either. A single segment longer than the character cap still goes alone. The full prompt shown for the engine lists the limits in use. When the prompt sends nearby segments or the whole file, it also shows a sample of that context; see Choose what each segment carries.
The Prompts tab holds the MT prompts. Built-in prompts are read-only; you can add your own. An engine's purpose (translation or quality review) is fixed when you create it.
An MT router maps target languages to engines. A project points at one router, and the router decides which engine translates each of the project's languages.

Provider engines and LLM translation engines can be mixed in one router. A job takes the engine of the route for its target language; a route also covers regional variants of its language, so a route for French serves a Canadian French job unless Canadian French has a route of its own. Every other language takes the default.
To change a router, click its row. Projects point at the router itself, so the change reaches every job that is pre-translated from then on. Deleting a router asks you to confirm; a router that a project or template still uses cannot be deleted. Owners, admins and project managers can create, edit and delete routers.
Open the project's Settings tab (or a template) and find the Machine translation card. In MT router, pick the router for the project. An empty field reads No machine translation; the X in the field clears a router you picked. The choice saves at once; in the New project form it is saved with the project. The list also offers New MT router, which opens the MT page in a new tab. The external-link icon at the end of the line (hover: Open MT router) opens the MT page in a new tab with the chosen router's card highlighted.
A warning icon beside a card's title flags a gap in a saved project or template; hover it for the details. Beside Translation memory it lists the target languages no memory covers (a memory for de also covers de-de), and beside Machine translation it says No MT router. Pre-translation cannot fill a language that has neither. Pre-translate > Apply MT is unavailable until the project has an MT router, in the CAT editor, the segment selection bar and the Tasks tab alike; once it has one, the menu entry names the router it uses.
Once a router is picked, a warning icon beside MT router lists the target languages it has no engine for, in the New project form too. Those languages are not machine translated, and their files read No MT on the Files tab until the router covers them and you run Pre-translate > Apply MT (below); on a Raw MT/AI project the job waits on its Pre-translation step until then. The job's History entry for pre-translation says "MT skipped: the MT router has no engine for this language". With no router at all, nothing is flagged: machine translation is simply not set up.
The checkbox Fill in machine translation on start or upload, at the top of the card, decides whether MT runs by itself. In the New project form it is locked until you pick an MT router, and locks again if you clear the router; in a saved project it is editable. With Raw MT/AI, a mode of the Workflow card, it is always on and cannot be cleared (the card reads Always on with Raw MT/AI.), and the project cannot start until it has an MT router. While MT on upload is on and a router is chosen, the Workflow card heads its steps with a Pre-translation row that names the router; click the name to go to this card. Memory always runs first, and MT never overwrites an existing translation or touches a locked segment. To run it later, while the job is on its first workflow step, choose Pre-translate > Apply MT in the selection bar on the project's Tasks tab or in the CAT editor toolbar. On the Tasks tab the runs are queued; see Select tasks and act on them. With segments selected in the editor, the Pre-translate menu in the editor's selection bar runs Apply TM or Apply MT on those segments only. Both skip a segment someone else has open and say how many. Members of a vendor organization working a client's task do not get Apply MT. The project's History names the engine each run used. See Translation memory for the memory side, and Templates to reuse one setup.
Languages carry an optional region, for example "es-MX" for Mexican Spanish. Every provider engine reports the languages it translates, and that list refreshes daily, so a language a provider adds needs nothing set up here. An engine that keeps a variant apart from its base language — British and American English, Brazilian and European Portuguese, Simplified and Traditional Chinese — translates into the variant the project asks for. When an engine has no entry for the regional form, OpenLoc sends the base language instead ("es"), and translation continues. Chinese is matched by script: a Traditional Chinese target (zh-TW, zh-HK) goes to the engine's own Traditional code, and a Simplified one to its Simplified code. A Traditional target is never sent as plain "zh", which engines read as Simplified; if the engine has no Traditional Chinese, that pair fails. If the engine has no entry for the base language either, that pair fails and its segments stay untranslated. A router does not check its engines against a project's languages in advance, so you find this out when a job runs, not when you save the router. LLM engines accept any pair and receive the project's language exactly as named, for example "es-AR" or "zh-TW".
Machine translation fails when the engine cannot translate: it is marked No key or Off, it cannot handle the language pair, or the provider turns the request down — a rejected key or a used-up quota, for example. The CAT editor shows the reason, and the job's task takes no edits until someone clicks Re-run or completes the step; see Recover from a failed run. Fix what the message names first — the key on Integrations, the engine, or the language's route — or the re-run fails the same way.
To read the exact request an LLM translation engine sent and the answer it got, open the Logs tab on the MT page; see Read what was sent to the AI provider.
When the engine handles tags itself, a segment's tags travel with the text as the same numbered chips the editor shows, and the engine places them in the translation. It can move a tag pair, split it or repeat it, because the words that carry the formatting often sit elsewhere in the target language. Every LLM translation engine works this way, and among the provider engines DeepL does. An engine without tag support translates the text on its own, and OpenLoc puts each tag back beside the word it stood next to in the source. See Work with tags.
Placeholders in software strings, such as %1$s, {count}, {{name}} or ${amount}, reach a provider engine as protected tokens and come back unchanged. LLM translation engines see them as written.
In the CAT editor, the Resources sidebar has an MT suggestion section. It shows the machine translation the pipeline already produced for the active segment, with the engine's name on the right; a segment that has none is translated on demand. Changing the project's router does not refresh a suggestion that is already stored — run Apply MT again for that. Click the suggestion to insert it, even when the segment already holds a memory match. The insert is saved as a Draft and Match shows MT, as after pre-translation; see Origins and other marks. No MT available means the project has no router, the router has no route for the language, or the engine returned an error.

MT output is marked Pretranslated, so a person checks it before it counts as done — except with Raw MT/AI, whose task completes itself once MT has run. Confirmed translations go to memory; raw MT never does. See The CAT editor.