---
title: How Does Machine Translation Work? | Large Programs
description: From word-for-word dictionaries to neural networks: how computers translate between languages, and why people still check the results.
canonical: https://www.largeprograms.com/machine-translation-how-it-works/
---

[Home](/) / [How LLMs Work](/category/how-llms-work/)

How LLMs Work

# How Does Machine Translation Work?

From word-for-word dictionaries to neural networks: how computers translate between languages, and why people still check the results.

27 November 2026 · 3 min read

**Machine translation** means using a computer to turn text or speech from one language into another. Wikipedia describes the aim as translating the meaning of both languages, including idioms and subtle shades, not just the words.

![A sentence in language A goes into a model trained on example pairs and comes out in language B.](/img/translation-steps.svg)

## Three generations

**1. Rules and dictionaries.** The earliest systems were rule-based. Some were dictionary-based: words were translated as they are by a dictionary. Others, such as transfer-based and interlingual systems, first turned the sentence into an intermediate form that stands for its meaning. The big weakness, says Wikipedia, was that everything had to be made explicit. Spelling variations, mistakes in the input and every case of a word with two meanings needed their own rules.

**2. Statistics.** Later systems learned from large collections of the same text in two languages, such as the English and French records of the Canadian parliament or the European Parliament. They estimated which translation was most likely. The first statistical system named in the source is IBM's CANDIDE. In 2005, Google trained its system on about 200 billion words of United Nations material and accuracy improved. The weaknesses were the need for huge amounts of parallel text, which was rare for many language pairs, and problems with languages that change word forms a lot.

**3. Neural networks.** Today's systems use deep learning. Wikipedia says these methods have now superseded rule-based and statistical ones, along with large language models. Many neural systems are built on the [Transformer](/the-transformer-explained-simply/), which looks at the whole sentence at once. The original Transformer paper, [Attention Is All You Need](/attention-is-all-you-need-paper/), was tested on translation. You can also simply ask a language model to translate a text, which can work well but takes more computing than a specialised translation model.

## A short history

- **1629:** René Descartes proposes a universal language where equal ideas share one symbol.
- **1947 and 1949:** A. D. Booth and Warren Weaver suggest using digital computers to translate. Weaver's 1949 memorandum is called very influential.
- **1954:** The Georgetown-IBM experiment gives a public demonstration of machine translation.
- **1966:** The ALPAC report finds that ten years of research had not met expectations, and funding falls.
- **1996 and 1997:** SYSTRAN offers free web translation, later through AltaVista Babelfish, which handled 500,000 requests a day in 1997.
- **2012:** Google says Google Translate translates roughly enough text to fill one million books in a day.

## Why it still goes wrong

Wikipedia lists several kinds of problems:

- **Ambiguous words.** A word with more than one meaning needs the right choice. Yehoshua Bar-Hillel raised this problem in the 1950s, arguing that without a "universal encyclopedia" a machine could not tell the meanings apart. Today there are many methods, but the problem has not vanished.
- **Context and common sense.** Studies with human readers found that in several languages human translations beat ChatGPT translations in accuracy of terms and clarity of wording.
- **Human parity claims.** The current consensus, according to the source, is that "human parity" claims for neural translation were based on limited domains, language pairs and tests, and are not real.
- **Missing training data** for less common languages.

Translations from tools such as DeepL still typically need a human to edit them, says Wikipedia, citing the position in 2022. The page shows examples of public signs and menus where a translation tool produced nonsense.

## What to do

For a menu, a message from a friend or a sign, a translation app is helpful. For anything important, such as a contract, medical information or a school form, ask a human translator. Compare with [how to check AI answers](/how-to-check-ai-answers/).

## Try this

Pick a short sentence with an idiom in your language, like "it's raining cats and dogs" or one from your own language. Translate it with a free tool into another language and back. Is the idiom still there? What does that tell you about meaning?

## Sources

- [https://en.wikipedia.org/wiki/Machine_translation](https://en.wikipedia.org/wiki/Machine_translation)
- [https://arxiv.org/abs/1706.03762](https://arxiv.org/abs/1706.03762)

[Read this page as Markdown (.md)](/machine-translation-how-it-works.md)

## Keep reading

[![](/img/hero/art-ai-art-and-music-basics.svg)](/ai-art-and-music-basics/)

How LLMs Work

### [How AI Makes Music: A Beginner's Look](/ai-art-and-music-basics/)

Models can generate melodies and songs by learning patterns in sound. What that means for musicians.

[![](/img/hero/art-backpropagation-how-neural-networks-learn-from-mistakes.svg)](/backpropagation-how-neural-networks-learn-from-mistakes/)

How LLMs Work

### [Backpropagation: How a Network Learns From Its Mistakes](/backpropagation-how-neural-networks-learn-from-mistakes/)

Backpropagation is the method that works out how to adjust each weight in a neural network after it makes an error. A simple explanation with a team analogy.

[![](/img/hero/art-chain-of-thought-prompting-showing-your-working.svg)](/chain-of-thought-prompting-showing-your-working/)

How LLMs Work

### [Chain-of-Thought Prompting: Showing the Steps](/chain-of-thought-prompting-showing-your-working/)

Asking a language model to show intermediate steps can improve its answers to hard problems. What the research found and how it is like showing your working in maths.
