You can tell within a second whether a piece of software was built in your language or translated into it. Often the giveaway is the small machinery around the words: how things are counted, how dates are written, which digits appear.
Counting is different everywhere
English has two forms for counting: one vote, two votes. Many languages have more, and the rules aren't obvious from English.
- Arabic has six forms, for zero, one, two, a few, many, and other numbers. 1,248 votes uses a different form from 3 votes.
- Russian has separate forms for numbers ending in one, in two to four, and in five or more, with exceptions for the teens.
- Hebrew has a special form for exactly two.
- Japanese, Chinese, Korean and Malay don't change the word at all.
The fix is never to build a sentence by gluing a number to a word. Each sentence is written whole, for every form its language has, and the right one is chosen from the number. Unicode's shared data on these rules is what makes that possible.
Don't drop words into sentences
A related trap: building a sentence from parts. An early version of ours put a translated noun into a sentence template, and German came out as "3 user segments haben gefragt". The noun was left in English and the grammar couldn't agree with it. German and Arabic change a noun's form by count and case, so a noun dropped in from elsewhere is almost always wrong.
So every sentence carries its own nouns, in its own forms.
Names that take endings
Turkish and Tamil attach endings to nouns. When the noun is a name someone typed, like a workspace called Acme, the right ending depends on the sounds of that name, which a program can only guess. The solution was to put the name before a noun that takes the ending instead, the way a careful writer would: "the Acme workspace", inflected on "workspace".
Russian has a similar problem with past tenses, which change with the speaker's gender. Where we can't know it, sentences are written in a form that doesn't need it.
Dates and digits
Dates follow the reader's conventions: day before month or after, which separators, whether the month is capitalised. Italian and Portuguese write months in lower case. Bengali uses its own digits, so 1,248 becomes ১,২৪৮. Chinese in Pinyin writes dates with Latin letters for readers who don't read characters.
Why it matters
None of this is visible when it's right. That's the point. A customer reading your board in their language should never stop and think "this was translated". Get the counting and the dates right, and most of them won't.