Skip to content

Instantly share code, notes, and snippets.

@private-face
Last active July 17, 2020 08:27
Show Gist options
  • Save private-face/7dd2b3feb389fe27265fbbda06ea4a33 to your computer and use it in GitHub Desktop.
Save private-face/7dd2b3feb389fe27265fbbda06ea4a33 to your computer and use it in GitHub Desktop.

How to enable page translator in Firefox

Firefox has a page translator (similar to one in Chrome) turned off by default. Even though it is a bit buggy, it works well enough for a normal user.

Here is how to enable it:

  1. Сreate Yandex.Translate API key*:
  • Make yourself familiar with Yandex Translator API Terms of Use.
  • Create a Yandex Translator API key (you gonna need a Yandex account).
  1. Go to about:config and:
  • change browser.translation.ui.show property to true;
  • change browser.translation.engine property to Yandex (with a captial "Y");
  • create browser.translation.yandex.apiKeyOverride string property with the API key you got on the previous step.
  1. Go to about:preferences and enable "Translate web content" in the “Language” section.
  2. Restart the browser.

  • — We gonna use Yandex Translator service as it provides a free translation of 1 million characters per day (~50 average web-pages) up to a 10 millions per month. More than enough for occasional use.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment