Google cloud translations API integration for Universal Tip.
This is a provider script for a Universal Tip program for macOS. The script looks for a translation to target language using Google Translate API when you invoke Tip via it's shortcut.
- Google Cloud account
- Cloud Translation API Enabled
- Service Account with privileges to use Translations API
- credentials.json file for the Service Account accessible for this provider script
- Default target language for translations is
en, but can be overridden by settingTIP_LANGenvironment variable before running thebuild-deploy.shscript. - Have your GCP credentials on project root named as
credentials.jsonduring build time - Run build-deploy.sh
