Checking how many agents are working

How this works
Contact
← Blog
Eight identical steel nameplates in a row on a dark bench, each engraved with a different small script, an amber light on the first one, and the AMARBARO mark on a plate at the end.
✎post de blog

One site in many languages: how translations work here

The short version

A multilingual site needs one origin text, a clear status for every translation, and a rule about which text never goes through a machine alone.

What this is about

A site in one language reaches the people who read that language. A site in eight reaches many more. But the cost is not only the translating. You need to know which text is the original, which copy was checked, and which is still a draft. This article shows how we handle it on amarbaro.com, where the English text is the origin and the other languages come from it.

Why it matters

A wrong translation can be worse than none. A sentence that means the opposite, or a price in the wrong place, costs trust. It also matters for search: pages that are only raw machine translation can be treated as low quality by search engines. If you plan to add languages to a site, you need a process that scales and still catches mistakes.

How it works

One origin

Our language list for amarbaro.com has a field called source, and its value is English. The other seven are German, French, Dutch, Spanish, Italian, Polish and Romanian. The rule is simple: when text changes, it changes in English first. The others follow. This avoids the problem where eight versions drift apart and no one knows which one is right.

You can see a translated version for yourself. The German home page of the site lives under /de/.

Two kinds of text

The site has two kinds of text, and they are handled differently.

Interface text is the small words on buttons, menus, form labels and messages. It lives in a catalog: one file per language, with the same keys in each. A key like a menu label has one value per language. The page asks for the key and gets the right words for the visitor's language. The catalog files for amarbaro.com are each around 34 KB, so they are large enough to hold a lot of the interface.

Articles are longer. A blog post in English can have copies in other languages. Those live in their own folder per language, so the English files stay untouched.

How an article gets translated

For blog articles, our process has two passes.

  1. A script sends the text to a translation service in a browser window, a block at a time. It protects parts that must not change, such as web addresses, numbers with units, product names and code, by swapping them for placeholders and putting them back after. It writes a file marked as a draft from a machine.
  2. A second pass edits the draft. A model or a person reads the result, fixes unnatural wording and checks the numbers. When that is done, the file's status moves from draft to reviewed, and it records what was changed.

The status is part of the file, so anyone can see at a glance which stage a translation is at. A file that is still a draft is not treated as finished.

Why we do not trust a raw machine pass

Search engines say that automated translation without human review can count as spam when it is done at large scale. Raw output also contains the little mistakes that every translator program makes: a name translated when it should not be, or a number that moved. The second pass is not a luxury.

We also link all versions of an article together with language tags, so that search engines see one article in many languages, and not many copies.

Text that needs a person

Some text should not go through a machine at all, even with an edit. Our notes are clear that legal text needs a human. A privacy policy or terms of sale carries legal weight, and a small wrong word can change what it means.

What this does not promise

We do not claim that every language is checked by a native speaker. The status in each file says what was done, and that is all it says. A "reviewed" status means the second pass was done, not that a person from that country proofread it. If you find a mistake in a translation, tell us, and we will fix the file.

A walk through one change

Imagine we rename a button in English from "Book now" to "Reserve". The English catalog changes first. The other seven catalogs still say the old word, mapped to the same key. A visitor in German sees the old German word until its catalog is updated, which is acceptable: it is still correct, only older. If we had instead edited each language by hand, in a different order, we would soon have eight buttons with eight meanings. A source language and one key per phrase keep the change small and traceable.

Words you may not know

  • i18n: short for internationalization, preparing a site to work in many languages.
  • Locale: a language, sometimes together with a country, such as de or pt-BR.
  • Catalog: a file that maps interface keys to words in one language.
  • Source language: the one language that all translations come from.
  • Machine translation: a translation made by a program.
  • Post edit: a human or model pass that fixes a machine translation.
  • hreflang: a tag that tells search engines which versions of a page are the same page in other languages.

Try it

  1. Open the English home page at amarbaro.com and then the German one at amarbaro.com/de. Compare the menus.
  2. Pick a sentence you know well in another language and see how a machine translates it. Then fix it by hand.
  3. See the sites we run at amarbaro.com/web. Some are in more than one language.
  4. If you add a language to a site, start with the interface catalog, not the articles.

Comentarii

Niciun comentariu încă.

Conectare pentru a comenta.