hubot-yandex-translate
Allows Hubot to translate things using the Yandex Translation API
See src/yandex-translate.js
for full documentation.
Installation
In hubot project repo, run:
npm install hubot-yandex-translate --save
Then add hubot-yandex-translate to your external-scripts.json
:
[
"hubot-yandex-translate"
]
Setup
Get a Yandex API key. Add it to your environment.
heroku config:add YANDEX_TRANSLATE_API_KEY=$KEY
Command
hubot translate <message>
hubot traducir <message>
hubot traduce <message>
hubot tr <message>
hubot t <message>
hubot translate [from-to] <message>
License
MIT