It may not live up to Google Translate (yet), but there is an official translation addon:
https://addons.mozilla.org/en-US/firefox/addon/firefox-trans...
https://addons.mozilla.org/en-US/firefox/addon/firefox-trans...
[I'm also hoping that things like this and the Common Voice project might eventually lead to an open / privacy respecting Mozilla voice asistant service. Maybe that's just optimism, who knows?]