Translation UrlOpen error in python
<p>We are trying to do translation in our code written in Ruby On Rails using a python code . But i am getting the error as </p>

<pre><code>  raise TranslationError, "Failed translating (getting %s failed): %s" % (e.url, e.error)

    translate.TranslationError: Failed translating (getting http://ajax.googleapis.com/ajax/services/language/translate?v=1.0&amp;q=%0A&amp;langpair=en%7Cpt-PT failed): &lt;urlopen error [Errno -2] Name or service not known&gt;
</code></pre>

<p>I have been connected to Wifi .ANd my browsers are working fine . I have been using Auto-detect proxy settings in my Firefox preferences.
how to resolve this.. But the same is working in other machine</p>
