Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gem is not working due to the API changes #1

Open
VDPoornima opened this issue Oct 17, 2013 · 0 comments
Open

Gem is not working due to the API changes #1

VDPoornima opened this issue Oct 17, 2013 · 0 comments
Assignees

Comments

@VDPoornima
Copy link

Hi,

I've tried your gem for translation but getting api issues. The google api for translator changed on april 2012.
I paste an error here.

require 'rubygems'
require 'translator'
=> ["UnSupportedLanguage", "Translator"]
tr = Translator.new()
=> #Translator:0xb639004c
tr.translate( 'Hello, World', 'hi')
"Site_Url => ajax.googleapis.com"
"Request_Uri => /ajax/services/language/translate"
"request => #Net::HTTP::Post:0xb638deb4"
"response => #Net::HTTPOK:0xb638ca00"
"response.body => {"responseData": null, "responseDetails": "Suspected Terms of Service Abuse. Please see http://code.google.com/apis/errors\", "responseStatus": 403}"
Suspected Terms of Service Abuse. Please see http://code.google.com/apis/errors
StandardError

If you update your gem corresponds to api modification then it would be useful.

@ghost ghost assigned anilyanduri Oct 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants