hubot-vtr-scripts icon indicating copy to clipboard operation
hubot-vtr-scripts copied to clipboard

Create Translation Script

Open sroberts opened this issue 11 years ago • 4 comments

Possible APIs

  • http://www.apertium.org
  • http://api.yandex.com/translate/
  • http://gengo.com/developers/
  • https://developers.google.com/translate/
  • http://www.microsoft.com/web/post/using-the-free-bing-translation-apis

sroberts avatar Dec 10 '13 00:12 sroberts

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

patcon avatar Dec 10 '13 05:12 patcon

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?

patcon avatar Dec 10 '13 05:12 patcon

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 avatar Dec 10 '13 05:12 patcon

@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?

sroberts avatar Dec 10 '13 14:12 sroberts