Commit Graph

7 Commits

Author SHA1 Message Date
Abduroid
37febe1ef0
feat(languages): add language code ug (#173) 2020-06-08 19:09:59 +09:00
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
yupengzhang
830af19de0 Filipino && Hebrew support (#45) 2017-10-23 12:41:59 +09:00
Encrylize
066eff6293 Update language names to match Google Translate (#33)
* Change language names to match Google Translate

This commit also fixes an issue introduced by commit 04a0e6df (issue #26),
where language names with underscores in them would not work, because
everything after an underscore is ignored.

* Add test for language names with spaces in them
2017-08-09 20:58:08 +09:00
Encrylize
1e6667a9ed Add missing languages (#30)
* Add missing languages

* Fix Punjabi language code
2017-08-08 20:42:33 +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
9a70d82281 Refactor all the things 2017-03-10 23:43:06 +09:00