Chrome extension - Translates issues, pull requests and comments on GitHub for non-English-based programmers
You can download it in Chrome Web Store.
-
Make a new project in Google Cloud Platform.
-
Enable Google Cloud Translation API for the project.
-
Make a new API key in Credentials.
-
Enter the API key in options for this Chrome extension.
-
Download [the released file] and extract it.
-
In chrome://extensions/ of your Chrome, click
load unpacked extension
and pick above folder. (You have to turn on developer mode) -
Enter your API key in app.js
-
Click options of this extension, choose your language which translates to.
Now, you can see a translation button on GitHub.
To build for testing, run following command:
$ npm run build
It makes built files in dist/
, so you should import dist/
directory in your Chrome browser.
And run following command for unit testing.
$ npm test
Icon made by Freepik from http://www.flaticon.com/authors/freepik