Hacker News new | ask | show | jobs
by Quentincestino 1002 days ago
"Unlike cloud-based alternatives, translation is done locally in Firefox, so that the text being translated does not leave your machine."

Wait how is it even possible without having to download gigabytes of datas ?

3 comments

It does download a fraction of a gigabyte per language pair; it does so on demand, so you only “pay” the storage for the languages you use.
It's possible with Neural Machine Translation models. Before being integrated into Firefox itself local translation was already available through the TranslateLocally add-on, see: https://browser.mt/
It has been possible for quite some time. I remember a few years ago, Google Translate offered a offline translation option (for a specific language pair) on my Android that required a couple hundred of MBs of download.