Features

It doesn’t look your words up in a dictionary. It reads the whole sentence, holds the meaning, and writes it again in another language.

Features — 122

How AI translates between languages

Filed UnderAI, How It Works
Read Time~3 minutes
PublishedNovember 13, 2026 at 8:05 PM
Hands holding open a book printed in Italian, with the sea blurred behind it
Photo: Efrem Efre / Pexels

          You type a sentence in English and, a heartbeat later, it comes back in Japanese. Not word by word, not awkward — a sentence a Japanese speaker would actually write. It feels like the machine understands both languages. It doesn't, exactly. But what it does instead is clever enough that the difference rarely matters.
          Translation used to be a lookup job. Now it's a guessing job — and the guesses have gotten very good.

The old way: swap the words
          Early machine translation worked the way a phrasebook does. Programmers wrote rules: this word means that word, this sentence pattern becomes that one. It worked for simple sentences and fell apart on anything with a twist, because languages don't line up word for word. A sentence that is perfectly natural in English can be nonsense if you translate each word in turn and keep the order.
          The next generation, including Google Translate when it launched in 2006, learned from examples instead of rules. It looked at millions of translated sentence pairs and learned which phrases usually matched which. That was a big step up. It was still, at heart, swapping chunks of text — a smarter phrasebook, same idea.

“ It doesn’t translate your words. It reads the sentence, holds the meaning, and writes it again in another language.”

The new way: meaning first
          In 2016, Google Translate switched to a neural system, and the whole approach changed. Instead of swapping phrases, the model reads the entire sentence and builds an internal representation of what it means — a pattern of numbers that captures the sense of it, not the words. Then it writes a new sentence in the target language from that representation, the way you might read a sentence, close the book, and say it in your own words.
          A mechanism called attention helps it keep track of which words matter most to each other while it reads — which verb belongs to which subject, which adjective describes which noun. That's what lets it handle sentences where the words arrive in a different order in the two languages, which happens constantly: in Japanese, the verb usually comes last; in English, it sits in the middle.

Where the examples come from
          A translation model is only as good as the translated text it trained on, and it needs enormous amounts of it: the same text in two languages, lined up sentence by sentence. International organizations are a gold mine — the United Nations publishes in six languages, the European Parliament in more than twenty. Translated books, film subtitles, and multilingual websites add more.
          That uneven supply is why quality varies. English to French is excellent; millions of translated sentences exist. A language with a smaller written footprint online has far fewer examples, and the translation shows it. The model can't learn what it has never seen.

Why idioms still trip it up
          Idioms are the classic test. A model that has seen "it's raining cats and dogs" translated a thousand times will handle it fine — it has learned the pattern. But give it a fresh turn of phrase, a joke, or a sentence whose meaning depends on tone, and it has to guess from context, the way you would with a phrase you've never heard. Sometimes the guess is right. Sometimes you get a perfectly grammatical sentence that means something else entirely.
          That is the honest limit of the whole approach. The model has never been rained on, never told a joke, never misunderstood anyone. It works from patterns in text. Most of the time, the patterns are enough. When they aren't, you can usually tell — the sentence is smooth, and slightly wrong.
          For everyday use — a menu, a message, a news article — that is more than enough. The machine doesn't understand either language. It just knows, from millions of examples, what a good translation looks like. And most days, that is indistinguishable from the real thing.

Enjoying the magazine?

A new story goes up every night at midnight. Find your next one by section.

Browse the sections