Skip to content

hkotka/tip-google-translate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tip-google-translate

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.

Image - Screenshot

Requirements

  • 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

Usage

  • Default target language for translations is en, but can be overridden by setting TIP_LANG environment variable before running the build-deploy.sh script.
  • Have your GCP credentials on project root named as credentials.json during build time
  • Run build-deploy.sh

About

Google cloud translations API integration for Universal Tip

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published