views:

279

answers:

0

Hi, I'm working with google language translator api.

for that I'm trying to pass a website url as an input to translator. But it is giving exception like GoogleAPIException (failed to get response)

What is the problem?

Here is my sample code :

lbldata.Text = Translator.Translate
           (s, Google.API.Language.English
             , Google.API.Language.Hindi);

in the above method I'm trying to pass website (http://www.google.com) page source to string s.

Thanks in advance,