terryyin / translate-python

Online translation as a Python module & command line tool. No key, no authentication needed.
MIT License
724 stars 155 forks source link

Libre provider `from_lang` is always `en` #97

Open schaumb opened 2 years ago

schaumb commented 2 years ago

https://github.com/terryyin/translate-python/blob/48dd08dddeb734646ba5670841025ed6c4596b2d/translate/providers/libre.py#L19

In the line above the constructor doesn't pass the from_lang argument to the base provider.