translate-text-with-google-translate-and-puppeteer
Translate a text from one to another language using Google Translate and Puppeteer
Preparation
I assume you already have NodeJS and npm installed on your machine.
Clone this code or fork (up to you)
git clone https://github.com/sonyarianto/translate-text-with-google-translate-and-puppeteer.git
and go to repository folder.
Install Puppeteer
npm i puppeteer
Run
Just type this on the repository folder.
node google_translate.js
This example will translate a text from Bahasa Indonesia to English. You can adjust with your own language.
Questions
Just drop me e-mail at [email protected] or write an Issue on this repository.