hubot-google-translate

Allows Hubot to know many languages using Google Translate

Usage no npm install needed!

<script type="module">
  import hubotGoogleTranslate from 'https://cdn.skypack.dev/hubot-google-translate';
</script>

README

hubot-google-translate

Allows Hubot to know many languages using Google Translate

See src/google-translate.coffee for full documentation.

Installation

In hubot project repo, run:

npm install hubot-google-translate --save

Then add hubot-google-translate to your external-scripts.json:

[
  "hubot-google-translate"
]

Sample Interaction

user> hubot translate me bienvenu
hubot> " bienvenu" is Turkish for " Bienvenu "
user> hubot translate me from french into english bienvenu
hubot> The French " bienvenu" translates as " Welcome " in English