Commit Graph

7 Commits

Author SHA1 Message Date
Bastien Vallet
778b00758e
chore: Remove python 2.7 support and various cleanup (#179)
Co-authored-by: Bastien Vallet <b.vallet@criteo.com>
2020-06-08 19:09:24 +09:00
Artur Aleksanyan
afb17c76bf Add ability to pass translation api params dinamically (#136)
* fix googletrans emoji bug

use py-gogoletrans translate text, if contains emoji, will raise JSONDecodeError.

* add ability to pass translation api params dinamically

* fix batch translate

Co-authored-by: clinjie <mlinjie@foxmail.com>
2020-02-08 17:17:31 +09:00
Nieole
4aebfb18fa Update utils (#102) 2019-02-05 17:30:09 +09:00
Jakub Molinski
2c85a4a976 feat: add an extra_data field to Translation containing the whole gtranslate response (#59) 2018-05-06 21:14:06 +09:00
ssut
15549dcdf8 Refactor googletrans to work properly (#40)
* Fix for invalid token array of the text

* Remove unused compacted-json decoder

because Google apparently now does not send like that before. This
commit refers the issue #37.

* Remove a test case for multiline text

This is a temporary fix: will be reverted after mocking tests.

* Add pipenv supports

* Update README
2017-10-02 23:26:34 +09:00
SuHun Han
deb36364f7 Refactor client 2017-03-10 23:43:06 +09:00
SuHun Han
9a70d82281 Refactor all the things 2017-03-10 23:43:06 +09:00