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!
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.
Every word seems excessive, especially if a page has an excessive amount of text on it.
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.
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.