PiRSquared17 / lightlang

Automatically exported from code.google.com/p/lightlang
0 stars 0 forks source link

Google translate's result is not the translated texts itself but the website #68

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I think Google have modified somethings, the translation result is the all 
the website.

Original issue reported on code.google.com by rusv...@gmail.com on 16 Nov 2009 at 9:19

GoogleCodeExporter commented 9 years ago

Original comment by mdevaev@gmail.com on 17 Nov 2009 at 8:29

GoogleCodeExporter commented 9 years ago
Partially fixed.

Original comment by mdevaev@gmail.com on 17 Nov 2009 at 11:57

GoogleCodeExporter commented 9 years ago
OK, thanks! :)

There only minor problem with translation with auto detect source language, I 
searched and found that:

GoogleTranslatePanel.py, line 84:
Qt.QVariant("auto") --> Qt.QVariant("")

GoogleTranslate.py, line 52:
Qt.QRegExp("\\{\\s*\"translatedText\"\\s*:\\s*\"(.*)\"\\s*\\}") --> 
Qt.QRegExp("\\{\
\s*\"translatedText\"\\s*:\\s*\"(.*)\"\\s*(,|\\})")

Original comment by rusv...@gmail.com on 17 Nov 2009 at 5:12

GoogleCodeExporter commented 9 years ago
Oh, thanks :-)

Original comment by mdevaev@gmail.com on 17 Nov 2009 at 7:00

GoogleCodeExporter commented 9 years ago

Original comment by mdevaev@gmail.com on 17 Nov 2009 at 8:55