Detect and Translates text with @google-cloud/translate sample
This repo describes how to use the Cloud Translation - Basic (v2) to detect and translates the language of a string.
Note : npm i && change path of credential in .env file
How to download credential file from google api: https://www.youtube.com/watch?v=Sjl9ilOpHG8&feature=youtu.be&ab_channel=RajKapadia