Inspiration

We were inspired by the capabilities of the Google Cloud Translate API.

What it does

Our project is an Action for Google Assistant that translates words and phrases from English to all the languages supported by Google Translate. It can also repeat the translation, and for select words can use the word in a sentence to give the user a better idea of how to use it contextually.

How we built it

We used the tools on the Actions Console to set up this Action. We also created a cloud function that returns a sentence containing an input word (works with select words).

Challenges we ran into

  • Learning pandas
  • Learning the interface used to create an Action

Accomplishments that we're proud of

  • Writing a cloud function API endpoint
  • Using webhooks to call external APIs

What we learned

  • We learned about Google Cloud APIs and services
  • We learned how to make an Action for Google Assistant

What's next for Super Translator

  • More words, more sentences per word
  • Use firestore database instead of python dictionary in cloud function
  • Use NLP API to add functionality, like identifying certain kinds of syntax
  • Figure out how to make Google Home say the translations with proper pronounciation

Built With

  • dialogflow-api
  • google-cloud-functions
  • google-cloud-translate-api
Share this project:

Updates