The post has been translated automatically. Original language: Russian
Previously, translation was based on rules. People described the grammar of two languages and a dictionary, and the program applied these rules. It worked noticeably worse than I would have liked.
The modern approach is different. The program shows a huge number of texts where the same meaning is written in two languages. Based on these examples, she deduces the correspondences herself.
The key idea is that it is not a word that is translated, but a phrase that takes into account the environment. One word in different sentences gets a different translation because there are different words next to each other.
Hence , the usual mistakes are understandable. A short phrase without an environment translates worst of all. The name of the two-word button may get an unexpected meaning because the program lacks context.
The second common problem is the terms and names. The program sometimes translates a word borrowed from another language in parts, and it makes no sense.
The third feature is the rare language pairs. The fewer examples were available, the lower the quality.
The practical conclusions for the product are simple. It is better to translate short signatures manually. Names and terms should be kept in a separate list with ready-made options.
And check the result by reverse translation. If the phrase translated back has changed its meaning, it is better to rewrite it.
Do you check the automatic translation of short signatures in the interface?
- На экране видны миллионы оттенков, а создаются они всего из трёх цветов. Каждая точка экрана состоит из трёх маленьких участков: красного, зелёного и синего. Смешивание работает так: чем ярче горит участок, тем больше его вклад в итоговый цвет. Красный и зелёный вместе дают жёлтый. Все три на полной яркости дают белый. Все три погашены, и точка выглядит чёрной. Яркость каждого участка описывается числом от нуля до двухсот пятидесяти пяти. Отсюда и знакомое количество оттенков: примерно шестнадцать миллионов сочетаний. Точки очень маленькие, поэтому глаз не различает их по отдельности и видит один смешанный цвет. Если посмотреть на экран через увеличительное стекло, три участка становятся заметны. Есть интересная особенность, полезная в работе с интерфейсами. Глаз воспринимает зелёный как более яркий, чем синий, при одинаковом числе. Поэтому чистый синий текст на чёрном фоне читается тяжелее, чем кажется по цифрам. Отдельно стоит сказать про разные экраны. Один и тот же цвет на телефоне и на большом мониторе выглядит немного иначе, потому что участки светятся с разной интенсивностью. Именно поэтому дизайн проверяют на нескольких устройствах, а не только на своём. И про яркость окружения. При солнечном свете разница между близкими оттенками почти исчезает. Поэтому важные элементы делают контрастными не за счёт оттенка, а за счёт разницы в светлоте. А вы проверяете, как выглядит ваш интерфейс на улице при ярком свете?