Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 11 lines (10 sloc) 0.453 kB
# translating words using google translation api
#install goslate a python module for translating using google translate api i n windows easy_install goslate
import goslate
gs = goslate.Goslate()
text= raw_input('enter the string to be translated ')
text = text.strip()
dest=raw_input("enter Destination language for example hi for hindi ")
dest = dest.strip()
print " translation of " +text+" in "+dest+" is :"
print gs.translate(text, dest)
Jump to Line
Something went wrong with that request. Please try again.