Its developers Mozilla are trying to add the ability to automatically translate pages in Firefox, similar to what Google Chrome already has.
However mode Firefox's page translation feature will be different than Google Chrome's.
Instead of relying on cloud text translation services (such as Google Translate, Bing Translator or Yandex.Translate), Firefox will use its own machine learning (client-side) translation library.
This library is currently under development project Bergamot, recently funded by 3 million from the European Union's Horizon 2020 research and innovation program.
"By moving to client-side translation, citizens will be able to maintain their privacy and thus increase the adoption of language technologies in Europe in areas that require confidentiality," said the researchers of Bergamot in January after securing funding.
The technology is currently in active development, and Mozilla has begun hiring mechanical translation developers to integrate Bergamot into Firefox. Once completed, the library will be released with an open source license.
Mozilla has always tried to develop a similar translation capability.
Most of it work of developers right now, it's for refining the Bergamot library, not for modifying the Firefox code. Firefox already has a user interface (UI) to support page translation functionality.
This user interface was added years ago when Mozilla first wanted to add a page translation function similar to its Google Chrome. But the company's plans collapsed when it realized that supporting the feature required enormous financial costs that it could not afford.
However, Mozilla, which always wanted a feature similar to Chrome, left the UI inside Firefox, though it never added API keys from various translation services. The UI continues to be there, hoping that money or some better solution will be found in the future.
If you like, you can enable this interface from the about: config page.
There you need to activate the following two flags:
browser.translation.ui.show and browser.translation.detectLanguage.
Firefox Nightly users can activate both flags to watch the development of the Bergamot project.
Last week, Firefox developer Kelly Davis put two demos of Bergamot into action, showing that the library was starting to run.
https://www.youtube.com/watch?v=_ha59D7IaOg
https://www.youtube.com/watch?v=ptmLzVeU0dk