How to enable web pages translation on Mozilla Firefox


As the number of Internet users around the world is constantly increasing, there is an urgent need for automatic translation for web pages so that everyone can access the information they need easily and immediately in their local language, and although they are available by default on some browsers such as Google Chrome and Microsoft Edge, they need To send phrases or pages to be translated into an external server either for Google, Microsoft, Yandex or other companies that provide this translation feature, making some companies that focus on the privacy and security of users as Mozilla Corporation, for example, do not provide this service in its browsers.

To find a solution to this problem, Mozilla works with several European universities on a project named Bergamot, a fund-funded EU, which aims to add and improve automated translation by the client in the web browser. The idea of this project is to develop a mechanism to translate web pages locally on the computer without relying on any cloud service or external server, without even need to connect to the Internet, which ensures and protects user privacy during the translation and as a result of this cooperation, an extension of Mozilla Firefox has been developed to carry out this process

This extension is still in its early development stages, and it works only on the Nightly version of the browser at present after enabling some experimental options, and it allows you translating from Spanish and Estonian to English and vice versa, as well as from English to German (one way only) for now, but if you can't wait any longer, you can follow these steps to try the local web page translation feature on Firefox:

1- Download Firefox Nightly from here.

2- Launch the browser after installing it, and enter about:config into the address bar, and hit the Enter button.

 

 

3- Click on the "Accept the Risk and Continue" button.
 
4- Search the following expression "xpinstall.signatures.dev-root", and click on the "+" symbol to add it to the browser; Make sure it's set to "True" after adding it


5- Search the "xpinstall.signatures.required" expression, and set it to false
.

6- Search the "browser.proton.enabled" and "dom.postMessage.sharedArrayBuffer.bypassCOOP_COEP.insecure.enabled" expressions, and set them to "True".

7- Restart the browser.

8- Click here to start downloading the extension, wait for it to download, then click Add in the popup that appears to install it
.
That's all!, now try to visit a webpage in either Spanish or Estonian, and you will see a new "Translate" button on the top of the page, click on it, and the webpage will be translated to English.

This process may seem complicated at the moment, but it will be simplified over time as extension development progresses. Just keep in mind that the translation may take a little longer than it does in the Google Chrome browser, for example, because the translation process, as I said earlier, is completely done on the device and not via the Internet, and the extension and by it is still in early development stages, it is currently performing By translating only 500 to 600 words per minute, in addition to that, the first translation process will take longer, while the subsequent translations in the same language will be faster according to the extension repository on GitHub.

Post a Comment

Previous Post Next Post