https://console.cloud.google.com/
2- Create a project
3- do a search for "translate"
4- enable it ( translate API on this project )
Python script example: https://cloud.google.com/translate/docs/reference/libraries
Python script:
pip install --upgrade pip
sudo pip install google-cloud
https://cloud.google.com/video-intelligence/docs/common/auth
PowerShell
bash
export GOOGLE_APPLICATION_CREDENTIALS=/mnt/c/Users/jkriker/Documents/GitHub/googletranslateapi/apikey.json
( EXPORT command https://linuxconfig.org/learning-linux-commands-export )
Ubuntu Bash on Windows 10
Ubuntu:
export GOOGLE_APPLICATION_CREDENTIALS=~/Documents/googleapi/apikey.json