Skip to content

felipeelia/wporg-gtranslate-ext

Repository files navigation

WP.org - Google Translate Browser Extension

This browser extension adds a "Translate" button on WordPress.org's Translation system. It requires a Google Cloud Translation API key. Check this section on how to get yours.

How to Install

  1. Go to chrome://extensions
  2. Enable Developer Mode by clicking the toggle switch next to Developer mode
  3. Click the Load unpacked button and select the extension src directory

How to update

  1. Go to chrome://extensions
  2. Find the extension
  3. Click the refresh icon next to the on/off toggle

Google Cloud Translation API Key

  1. Go to https://console.cloud.google.com/
  2. Select or add the project you want to use
  3. Click on "APIs & Services"
  4. Click on "Enable APIs and Services"
  5. Search for "Cloud Translation API" and click on it. Then click on "Enable"
  6. If you don't have it yet, set up Billing. The free quota is quite large, check this link.
  7. Back to APIs & Services, click on "Credentials" on the left site
  8. Click on "Create Credentials" > API Key
  9. Copy the API Key created
  10. On your browser's extensions, right-click on the "W" (this extension icon) and then select "Options"
  11. Paste the API Key in the screen that opens up and click "Save".

Although completely unrelated to this project, this link contains the steps to generate an API key.