7 ms·
I run an app (Aerolith.org) for studying Scrabble words. For years I would get weird bug reports (https://github.com/domino14/Webolith/issues/331 https://github
by cdelsolar 2y ago
I run an app (Aerolith.org) for studying Scrabble words. For years I would get weird bug reports (https://github.com/domino14/Webolith/issues/331 https://github.com/domino14/Webolith/issues/331), where at the end of each round, when a user viewed the definitions, the words for definitions would get randomly replaced with other unrelated words. I double and triple checked the code; since I had recently moved the word-related logic to a Go microservice I assumed I had some crazy race condition. I remember trying to replicate it with many simultaneous requests, looking for memory leaks, thinking there was something wrong with the sqlite driver, etc.
Finally, I figured out that it was a Google Chrome auto-translation issue. For example the word JIBER was replaced with "BECAUSE OF" because JIBER means BECAUSE OF in Kurdish. There were many other similar ridiculous cases.
- shadowgovt 2y agoThere is a way to explicitly specify the language of the document in the HTML metadata: `<html lang="en">`. Google doesn't guess if it has strong signal on what the language is.