A simple and easy to use Chrome extension for translating text to Chinese
- Double click to auto select and translate
- Select words to translate
- Use
git clone
to download this project - Apply for an
appid
in Baidu Translate API - Fill in your
appid
andkey
insrcipt/background.js
function doQuery(query, sendResponse) {
const appid = 'your appid here'
const key = 'your key here'
//...
}
- Go to
chrome://extensions/
and check the checkbox forDeveloper mode
in the top right - Click the
Load unpacked extension
button and select theinori-translator
folder to install the extension
- Setting page for filling in appid and key