Firefox Adds Support for Machine Translation of Selected Text Fragments

in night assemblies firefox, on the basis of which the release of Firefox 126, appeared the possibility of automated machine translation of text fragments highlighted on the page (only the entire translation of the entire page was supported). The translation function is called through the context menu shown when pressing the right mouse button on the selected text block. To activate the translation of fragments in ABOUT: Config added BROWSER.TRANSLATIONS.SELECT.ENABLE, which is disabled by default.

In addition, in night assemblies, the possibility of translation into Russian, Ukrainian and Estonian languages ​​is available, which in stable assemblies can only be used as the source languages ​​from which translation is carried out. For the translation, a translation system built into Firefox is involved, which translates on the user’s local system without contacting external cloud services. The system is based on the open engine bergamot , which is a strapping over the frame of machine translation marian , using the recurrent neural network ( RNN ) and language models based on transformers .

/Reports, release notes, official announcements.