News for hackers. Stuff that matters.
Re:Never connect to ProtonMail using Chrome by cromwellian on Tuesday November 20, 2018 @02:47AM (#18492402)
When I visit a website in a foreign language I've never translated before, Chrome asks my permission to translate the site, it doesn't do so automatically. You could argue they could give you more details on what it will do when you click the 'Translate' button, but to argue they shouldn't offer the feature as a permission-requested option at all seems pretty extreme.

I read a lot of foreign websites, and the built-in translate feature (which you can request in the right-click menu, or from the Toolbar) is a life saving feature, like, literally, I've been traveling, and Chrome built-in ability to translate helped in a medical emergency.

Re:Never connect to ProtonMail using Chrome by rocqua on Tuesday November 20, 2018 @05:55AM (#18492980)
Question is, how does it know to ask?

If it is based on analysis done by the local machine, no problem. However, if it is based on analysis done by google servers, big problem!

Re:Never connect to ProtonMail using Chrome by scandinavian on Tuesday November 20, 2018 @06:47AM (#18493149)
As mentioned in the reddit thread, it is done clientside by this library:

https://github.com/google/cld3

Re:Never connect to ProtonMail using Chrome by mschuster91 on Tuesday November 20, 2018 @06:03AM (#18493009)
> Question is, how does it know to ask?

The html tag has a "lang" attribute, and the server itself can send a Content-Language HTTP header. Most CMSes these days set one or both once multi-lingual is enabled.

Additionally the browser can utilize the OS or it's own spellcheck word database: check every word in every dictionary and the dictionary with the most matches is likely to be the relevant one.

Re:Never connect to ProtonMail using Chrome by giancarlostoro on Tuesday November 20, 2018 @08:06AM (#18493495)
> Additionally the browser can utilize the OS or it's own spellcheck word database: check every word in every dictionary and the dictionary with the most matches is likely to be the relevant one.

Every word seems excessive, especially if a page has an excessive amount of text on it.

Re:Never connect to ProtonMail using Chrome by rocqua on Tuesday November 20, 2018 @12:43PM (#18495767)
I have noticed that 'certain' sites that obfuscate titles by homoglyphs are recognized as vietnamese by chrome. That seems like something based on the actual content of the page.
Re:Never connect to ProtonMail using Chrome by ElBarto on Tuesday November 20, 2018 @08:07AM (#18493502)
It asks permission to show you the translated version.

But does it send the page's content to some Google server only if you agree? The point here is that it seems that the content is sent over to Google no matter what.

Re:Never connect to ProtonMail using Chrome by cromwellian on Tuesday November 20, 2018 @03:44AM (#18492576)
Two downvotes for pointing out that it asks for permission to translate, and that the feature is pretty important if you're traveling in a foreign country and don't speak the language?