mlesniew / badtranslator Goto Github PK
View Code? Open in Web Editor NEWUse Google Translate to translate text back and forth.
License: GNU General Public License v3.0
Use Google Translate to translate text back and forth.
License: GNU General Public License v3.0
i run the translator in my windows laptop after adding .py extension and it gave me an error in goslate.py
error:
C:\Users\Nicholas\Downloads\extract-adf\badtranslator>py -3.8 translate.py --language=en "Something"
Traceback (most recent call last):
File "translate.py", line 64, in <module>
text = gs.translate(text, language, last)
File "C:\Program Files\Python38\lib\site-packages\goslate.py", line 407, in translate
return _unwrapper_single_element(self._translate_single_text(text, target_language, source_language))
File "C:\Program Files\Python38\lib\site-packages\goslate.py", line 332, in _translate_single_text
results = list(self._execute(make_task(i) for i in split_text(text)))
File "C:\Program Files\Python38\lib\site-packages\goslate.py", line 201, in _execute
yield each()
File "C:\Program Files\Python38\lib\site-packages\goslate.py", line 330, in <lambda>
return lambda: self._basic_translate(text, target_language, source_lauguage)[0]
File "C:\Program Files\Python38\lib\site-packages\goslate.py", line 251, in _basic_translate
data = {'src': raw_data[-1][0][0]}
IndexError: list index out of range
someone pls tell me how to fix im using python 3.8 and 3.10 as parallel versions i ran it with python 3.8 because it is the latest version supporting goslate
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.