Commit Graph

69 Commits

Author SHA1 Message Date
Encrylize
4e52393ceb Fix command line tool (#31) 2017-08-08 20:42:45 +09:00
Encrylize
1e6667a9ed Add missing languages (#30)
* Add missing languages

* Fix Punjabi language code
2017-08-08 20:42:33 +09:00
Encrylize
034646e289 Fix incorrect source language and pronunciation (#29)
* Fix incorrect source language and pronunciation

* Add tests for source language and pronunciation
2017-08-08 20:42:22 +09:00
Walter Purcaro
04a0e6dfbb Support languages names and RFC 1766 codes (#26)
* Update client.py

Accept languages names as dest/src params in the `translate` routine.
Move dest/src params check to the `translate` routine.

* Update constants.py

Add LANGCODES dict

* Update __init__.py

Import LANGCODES

* Update test_client.py

Add tests

* Update constants.py

Fix typo
2017-06-01 22:50:13 +09:00
SuHun Han
633fc40a57 Bump version to 2.1.3 2017-05-06 22:51:18 +09:00
Mariusz Korzekwa
b670db30ec Improve setup.py
* Now setup.py don't import googletrans.__init__.py wchich import requests, and this occure ImportError during installation of library.
* Changes with getting version in setup.py without importing googletrans.__init__.py

Now you can install py-googletrans on clean virtualenv, without earlier install dependencies.
2017-05-05 18:17:09 +09:00
garden.yuen
ae4953dff9 gtoken: use custom server to generate token (#19)
* use custome server to generate token

* fix test fail issue
2017-04-23 20:52:23 +09:00
SuHun Han
286593607e Fix invalid tokenizer due to the complexity of the obfuscated code
This commit solves #14 and bumps the version to 2.1.2
2017-04-07 22:43:48 +09:00
SuHun Han
d991f5e3e3 Fix invalid tokenizer issued by #13, bump version to 2.1.1 2017-04-03 23:05:19 +09:00
SuHun Han
5e77f76ead Bump version to 2.1.0 2017-04-01 20:08:38 +09:00
SuHun Han
2d99780083 Fix setup fails due to python2's encoding
This solves #11
2017-04-01 20:03:02 +09:00
SuHun Han
eaac0f1130 Fix an issue where the result text is not returned completely (cut off)
This solves issues #10 and #12, and adds a test case for it.
2017-04-01 19:58:17 +09:00
SuHun Han
d1c64a11d6 Update documentation with a new sphinx theme 'solar' 2017-03-15 22:10:37 +09:00
SuHun Han
9ef35a06ca [skip ci] Ignore pytest-testmon data file 2017-03-11 23:01:40 +09:00
SuHun Han
0f943b6a64 Add support for customizable service url 2017-03-11 22:37:03 +09:00
SuHun Han
92ea3cd2c1 Update README 2017-03-11 16:20:27 +09:00
SuHun Han
dda50305b7 PEP8 2017-03-10 23:43:06 +09:00
SuHun Han
791e32a23b Minor updates for package
- Change the package name to googletrans
- reStructedText README for PyPI
- Travis CI
2017-03-10 23:43:06 +09:00
SuHun Han
b128722a0d Fix tests that occurs unicode error in python 2.x 2017-03-10 23:43:06 +09:00
SuHun Han
1303d0cfdd No longer use wercker for CI service 2017-03-10 23:43:06 +09:00
SuHun Han
5f908fab16 Better compatiblity with all python versions 2017-03-10 23:43:06 +09:00
SuHun Han
deb36364f7 Refactor client 2017-03-10 23:43:06 +09:00
SuHun Han
aac87e5f29 Update README for v2.0.0 2017-03-10 23:43:06 +09:00
SuHun Han
afc4006f3e test: rearrange this for covering extensive number of codes 2017-03-10 23:43:06 +09:00
SuHun Han
93e2cd9043 Update requirements 2017-03-10 23:43:06 +09:00
SuHun Han
9a70d82281 Refactor all the things 2017-03-10 23:43:06 +09:00
SuHun Han
59d96f75a0 Add google translate token generator 2017-03-10 23:43:06 +09:00
SuHun Han
2f76c45d6e Update README.md 2016-08-27 22:04:25 +09:00
SuHun Han
18e0456fb4 Merge pull request #4 from sinwoobang/patch-1
Fix typo
2015-08-11 14:53:41 +09:00
Sin-Woo Bang
019ca644c3 Fix: typo 2015-08-11 13:23:31 +09:00
ssut
5469d9fa81 Fix: UnicodeEncodeError with python 2.x
refs #3
2015-07-21 00:59:50 +09:00
ssut
4d4f3ec41b Update: for python 2.x compatibility
refs #3
2015-07-21 00:59:08 +09:00
ssut
60859940c6 Update: version to 1.2
Major updates: 29819f7, #1, #2
2015-07-18 00:24:17 +09:00
ssut
80a76450d2 Add: converter that subtitutes for special cases
refs #2
2015-07-18 00:20:25 +09:00
ssut
649ba7d828 Add: special cases for replacing with ISO-639 table
refs #2
2015-07-18 00:19:16 +09:00
ssut
28497778a1 Update: don't encode string if python 3 is used
refs #1
2015-07-17 20:57:20 +09:00
ssut
1230ace7b2 Update: clarify inheritance behavior for class definition
Explicit is better than implicit.
2015-07-17 20:52:32 +09:00
ssut
6a101f4dad Fix: check availability of both source and destination language
refs #2
2015-07-17 20:49:22 +09:00
SuHun Han
7a59b8a82a Merge pull request #1 from josemoralesp/master
Fix: Unicode error in the result
2015-07-17 18:17:01 +09:00
Jose Antonio Morales Ponce
ee05c8a03e [FIX] Fix Unicode error in the result 2015-07-16 12:54:59 -05:00
ssut
4da5f2619f Update user agent to pass the tests 2015-07-06 17:04:33 +09:00
ssut
c40e9b720b Update wercker.yml with tox 2015-07-06 16:54:53 +09:00
ssut
f2f68afeaa Add many badges :) 2015-07-06 15:37:03 +09:00
ssut
90b2bf202c Add test script 2015-07-06 15:16:32 +09:00
ssut
cf89d7abd1 Remove CI scripts 2015-07-06 14:53:53 +09:00
ssut
03083652e8 Add wercker.yml 2015-07-06 14:45:48 +09:00
ssut
29819f703c Add languages, and print excetion with details 2015-07-06 14:31:08 +09:00
ssut
941dddaa9a Remove use-mirrors that code has been deprecated 2015-07-06 14:30:37 +09:00
ssut
c656cb709b Fix typo and add coveralls badge to README 2015-07-06 14:24:04 +09:00
ssut
deb11fd4c4 Add coveralls script 2015-07-06 14:22:01 +09:00