Skip to main content
18 events
when toggle format what by license comment
Dec 10, 2019 at 2:06 comment added Kaiido Oh and if you wish, here is what seems to be the minimal content from that page to trigger the translator (removing anything in content will disable the translator) From that page the remaining words that do exist in French are "router", "sans" and "font"
Dec 9, 2019 at 23:40 comment added Kaiido @maxshuty My first comment was a response to an idea to simply disable google's translator. That's apparently the only thing StackOverflow could do on their end, but then raises the concern that it might be better some of us have this notice while they don't need rather than the ones who need it never have the translation. Once again, that's a weird bug from google, if it really annoys you, you can raise a bug to them: crbug.com
Dec 9, 2019 at 14:27 comment added maxshuty @Kaiido I believe if you have a language preference set in Chrome wouldn't it actually help to tell Chrome that a given page is in English. Then if someone who is a non-native speaker and has a difference preference set and they visit the page they will see a prompt to translate it from English to their native language? Perhaps I'm wrong, this stuff is a bit fuzzy for me.
Dec 6, 2019 at 21:26 history edited Peter Mortensen CC BY-SA 4.0
Active reading. [<http://stackoverflow.com/legal/trademark-guidance> (the last section)].
Dec 6, 2019 at 16:21 comment added CD001 I suspect it's the page <title> that's tripping it up, as it begins with "vue" : <title>vue.js - Nuxt Hot reloading for new components Is not working - Stack Overflow</title>
Dec 6, 2019 at 15:15 comment added TylerH My guess is because the page begins with (and frequently references) Nuxt or Nuxt.js, which is a language translation library for Vue. Google's algorithms probably crawl the web for top-related search results and discover "this is French" when looking at its results for some reason.
Dec 6, 2019 at 8:39 comment added VLAZ Chrome has always been a bit off when suggesting translations. It'd suggest to translate pages from my native language to English a lot, even though I've told it "No, never do that" more than once. Then I'd open a page in a different language and it'd never suggest translation. Also for a page in English which includes a quoted sentence or two in, say German (which is also translated immediately after), Chrome says "This page is in German, do you want to translate it?". I'm surprised others are surprised by this - I don't use Chrome as my main browser, yet I've seen make mistakes a lot.
Dec 6, 2019 at 3:47 comment added Kaiido Yeah or ask google to fix their translator. I played a bit with that page and randomly removing japanese characters or a css file, or "Home" or othef things that are not French in any way, will make it silent, but replacing "vue" which is the only word there that could be French (I am native speaker) didn't had real influence... I'm clueless has to what happens, but clearly the culprit is that algo, not the page.
Dec 6, 2019 at 3:16 comment added CertainPerformance @Kaiido Good point, so maybe a per-user setting is needed instead. That's pretty unlikely to happen though. But a userscript seems to do the trick: document.head.insertAdjacentHTML('beforeend', '<meta name="google" content="notranslate">'); plus instant script injection
Dec 6, 2019 at 2:08 comment added Kaiido @CertainPerformance that's assuming only English-speaking visitors come to SO. Yes the community shall speak in English (to the best of their abilities), but disabling translation altogether is probably not a solution.
Dec 6, 2019 at 2:03 comment added TheWanderer Chrome tends to be a little overzealous when suggesting translations. If there are a few words it thinks it recognizes, it'll offer to translate, even if the rest of the page is in whatever language you have set.
Dec 6, 2019 at 0:45 comment added CertainPerformance An answer says the solution is to add <meta name="google" content="notranslate">. Works for me, no translation gets suggested
Dec 6, 2019 at 0:40 comment added CertainPerformance Yep, I've seen a few questions that get mistakenly suggested for translation, often posts with lots of code. I downloaded the page, added the lang="en" attribute to the <html, then opened the page locally, but a translation was still suggested by Chrome. There might be a solution, but setting lang there doesn't seem to work
Dec 6, 2019 at 0:39 comment added Patrice I am French native. No reason why it detects French. There are some French words here and there on that page but that page is definitely English first
Dec 6, 2019 at 0:21 history edited maxshuty CC BY-SA 4.0
edited title
Dec 5, 2019 at 22:47 comment added maxshuty Interesting, seems like this could be alleviated if SO used the lang attribute though, no?
Dec 5, 2019 at 22:35 comment added BruceWayne Does same for me. I copy/pasted the whole post (from Edit) into Google Translate with "Detect Language" selected, and it correctly detected English. Perhaps it's something else on/in the page? I thought it'd be the word nuxt, but that in Google Translate auto-detects as Swedish...Edit: Ah, I put nuxt vue in GT, and it detected as French. Maybe it's the combo of those words used in the "Related Posts" section?
Dec 5, 2019 at 22:27 history asked maxshuty CC BY-SA 4.0