Mozilla releases local machine translation tools as part of Project Bergamothttps://addons.mozilla.org/firefox/addon/firefox-translations/
That's great. A little limited with language options and no automatic detection but look forward to it developing further
Did you try this?https://addons.mozilla.org/en-US/firefox/addon/simple-translate/It has pop-up translate feature and automatic-detection of language