# How AI translates, and where it goes wrong > From rule books to statistics to neural networks to LLMs: how machine translation works today, the mistakes it typically makes, and a check loop that catches most of them. Source: https://rfriedmann.de/blog/how-ai-translates/ Published: 2026-11-28 · Track: learn · Level: Beginner Translation is one of the oldest jobs people gave to computers, and AI is now good enough at it that many people stop checking. That is when it gets risky: a modern translation reads fluently even where it is wrong. ## From rule books to statistics to neural networks **Rules, from the 1950s.** In January 1954, IBM and Georgetown University showed a Russian-to-English system in New York. It used [just 250 words and six grammar rules](https://aclanthology.org/2004.amta-papers.12/), and it raised expectations that high-quality automatic translation was close. Rule-based systems that followed were built by linguists who wrote dictionaries and grammar rules for each language pair by hand. That is slow, and every exception needs another rule. **Statistics, from the 2000s.** On 28 April 2006 Google [announced its statistical translation system](https://research.google/blog/statistical-machine-translation-live/). Instead of hand-written grammars, it learned from large amounts of text, including existing human translations aligned sentence by sentence, and translated in phrases. **Neural networks, from 2016.** On 27 September 2016 Google [moved Chinese-to-English to a neural system](https://research.google/blog/a-neural-network-for-machine-translation-at-production-scale/), replacing the phrase-based method it had used since launch. A neural network reads the whole sentence and produces a whole sentence, which made the output far more fluent. The same post is honest about what remained: the system could still make errors "a human translator would never make", like dropping words and mistranslating proper names or rare terms, and it translated sentences in isolation rather than considering the paragraph or page. In June 2017 the [transformer paper](https://arxiv.org/abs/1706.03762) introduced the architecture behind today's models, and it was benchmarked on translation. **Large language models, today.** General-purpose LLMs now translate as one of many tasks, and translation services use them too. When Google added 110 languages to Translate in June 2024, it said its [PaLM 2 model helped](https://blog.google/products/translate/google-translate-new-languages-2024/) it learn closely related languages more efficiently. ## How an LLM translates An [LLM](/blog/what-is-an-llm/) has no dictionary inside that it looks words up in. It does what it always does: given the text so far, predict the next token. For a translation, the text so far is your instruction plus the source text, and the model writes the target text token by token, each time choosing what most plausibly comes next in a good translation of what it has just read. Because the whole source sits in the [context window](/blog/the-context-window/), the model can use the paragraph before to decide what a word means: "bank" next to "river" and "bank" next to "loan" come out differently. The 2016 system worked one sentence at a time. An LLM sees the whole document, as long as it fits. ## What it does well - **Fluency.** The output reads like natural text, not a word-for-word transfer. - **Context.** Ambiguous words get resolved by their surroundings, across sentences. - **Register and instructions.** "Keep it formal", "this is a support chat", a glossary, a list of names not to translate: all in plain language, in one prompt. For reading a foreign article or drafting a reply you will look over, this is very good. ## Where it goes wrong The errors are the dangerous kind: confident and well written. These are the ones I watch for. - **Specialist terms.** In law, medicine or engineering, a term often has one correct translation and several plausible wrong ones. The model may pick the everyday word over the fixed term. It reads fine, it is wrong. - **Dropped or added sentences.** Google's own 2016 post names dropped words as a typical error. An LLM can also skip a clause, merge two sentences, or add a smoothing phrase that was never in the source. In a contract, a missing "not" or a dropped exception is the whole meaning. - **Numbers and units.** Decimal separators (1,5 in German is 1.5 in English), dates (03/04 is March or April depending on the country), currencies and units. A model may convert, round or leave things as they were, and not always consistently. - **Names.** Product names, company names and people's names get translated when they should not, or a name that looks like a common word gets treated as one. - **Formal and informal address.** German has "du" and "Sie", English has only "you". Going from English to German, the model has to choose, and it may switch halfway through a document. Dedicated services expose this as a setting: DeepL's API has a [formality parameter](https://developers.deepl.com/docs/api-reference/translate) with values such as "more" and "less" for languages that support it (as of November 2026). - **Gendered forms.** Many languages force a gender where the source has none. In December 2018 Google described how Translate had returned only one gendered version of the gender-neutral Turkish "o bir doktor", and [started showing both](https://www.blog.google/products/translate/reducing-gender-bias-google-translate/) "she is a doctor" and "he is a doctor". A model without that care picks one, often the stereotype. - **Low-resource languages.** Translation quality follows training data. The [No Language Left Behind](https://arxiv.org/abs/2207.04672) paper from 2022 says machine translation work had "coalesced around a small subset of languages", leaving most low-resource languages behind. Between two smaller languages, check harder. Underneath all of these sits the same mechanism as in [why models make things up](/blog/why-models-make-things-up/): the model produces the most plausible text, and plausible is not the same as correct. ## A check loop that catches most of it
The translation check loop
[diagram omitted — see the page for the chart]
Steps 1 to 4 are cheap and catch dropped sentences, wrong numbers and swapped names. They do not replace step 5 where a mistranslation has legal or medical consequences.
**Put a glossary in the prompt.** List the terms that must be translated one specific way, the names that must stay as they are, and the form of address. For example: ```text Translate the following text from English to German. Address the reader with "du" throughout. Glossary (always use these): service level agreement -> Service Level Agreement (do not translate) data processor -> Auftragsverarbeiter Do not translate product names: imp, RTX 5090. Keep all numbers exactly; use German decimal commas. After the translation, list every term you were unsure about. ``` Dedicated services support the same idea: DeepL's API accepts a glossary per request, for example. **Ask for a list of uncertain terms.** The last line of that prompt matters. It turns the model's guesses into a short list you can check, instead of hiding them in fluent text. The list is not complete, a model can be confidently wrong without flagging it, but it points you to the likely problems. **Back-translate, and know its limits.** Translate the result back into the source language, ideally in a fresh chat or with a different model, and compare. A dropped sentence, a changed number or a reversed negation usually shows up. What it does not show: a wrong technical term that maps back to the right source word, a wrong form of address (both "du" and "Sie" come back as "you"), or a tone that is off. A clean back-translation means the meaning probably survived, not that the text is good. **Get a human for anything that binds.** Contracts, terms and conditions, medical information, safety instructions, anything filed with an authority: a qualified person who knows both languages and the subject reads it before it goes out. That is the same rule as in [when not to use AI](/blog/when-not-to-use-ai/): when an error is expensive and hard to spot, the check has to be done by someone who would spot it. ## Which tool General-purpose LLMs, local or hosted, cover most everyday use, and you can [run one on your own hardware](/blog/your-first-local-model/) if the text should not leave the building. Dedicated services such as DeepL and Google Translate exist too, built only for this job; DeepL's API, for example, has the formality and glossary settings mentioned above. For confidential or personal text, use a paid business tier with a processing agreement: the free version of DeepL, for example, may use your text to improve its service. I won't rank them: I have no primary evaluation that compares them fairly on your kind of text. The honest test is to [try them on your own documents](/blog/testing-a-model-on-your-own-work/) and run the check loop on the results. ## Bottom line Machine translation went from hand-written rules to statistics to neural networks to LLMs, and each step made it more fluent. Fluency is also the problem: wrong terms, dropped sentences, swapped numbers and the wrong "du" or "Sie" read just as smoothly as correct text. Give the model a glossary, ask what it was unsure about, back-translate to catch lost meaning, and have a person review anything legal, medical or contractual.