Commit Graph

11 Commits

Author SHA1 Message Date
Terry Zhuo 9ff4aaecc8
chore:test available service_urls and multi-lang result in different service_urls (#216) 2020-09-02 20:04:55 +10:00
SuHun Han e10c5e8fa7
chore: v3.0.0 (#181)
Co-authored-by: Kirill Bobrov <miaplanedo@gmail.com>
Co-authored-by: Zhuopsticks <36221214+terryyz@users.noreply.github.com>
2020-06-14 15:42:32 +09:00
Zhuopsticks 2f83668b2f
chore(constants): add default service_urls (#183)
* storing available urls as constant
2020-06-10 18:33:54 +09:00
Soumendra kumar sahoo 704e8617a0
feat(languages): add Odia (lang code: or) language (#159)
Co-authored-by: Soumendra Kumar Sahoo <soumend1@in.ibm.com>
2020-06-09 00:28:52 +09:00
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