Open sroberts opened 10 years ago
Can we just extract this into its own packages and dep on it? https://github.com/github/hubot-scripts/blob/master/src/scripts/speak.coffee
Oops. That's spoken word.
Wow. Genuinely surprised that translate functionality didn't exist already. Any objection to packaging this separately and adding it as a dependency?
Google costs cash-monies, but seems microsoft api is free (for 2 million chars/month): http://blogs.msdn.com/b/translation/p/gettingstarted2.aspx
http://api.microsofttranslator.com/v2/Http.svc/Translate?text=<urlencoded string>&from=en&to=es
@patcon you bring up an interesting point about this being a more generalized plugin that we could use in VTR, that's not a bad idea. It'd be easy to add it as a part of github/hubot-script, then we can just add something to hubot-scripts.json
.
I agree though, the BingAPI seems the best one by far.
Wanna take a crack?
Possible APIs