nidhaloff / dolmetscher

a simple package to translate between languages using multiple integrated translators
MIT License
17 stars 9 forks source link

integrate more translators #1

Open nidhaloff opened 4 years ago

nidhaloff commented 4 years ago

I'm opening this issue for new comers who want to contribute to the project. The goal is to integrate more translators in this tool. For example linguee, pons or deepl.

If anyone is interested, feel free to write me or leave a comment

alceil commented 2 years ago

I would like to work on this issue. Can you brief me on what to do I will get it done? @nidhaloff

rkg4412 commented 2 years ago

I am also interested on the issue .Can you breif me on what to do and I will get it done ?? @nidhaloff

nidhaloff commented 2 years ago

Basically as stated in the description, there are other translators that can be integrated like linguee, pons and deepl. If you know python, you can take a look at this repo https://github.com/nidhaloff/deep-translator

Sowatee commented 2 years ago

DeepL translator requires an account to use their API. I want to begin looking over the code and work on integrating it, but how would I manage the permissions and account requirements?

nidhaloff commented 2 years ago

@Sowatee Users should handle that. The package is just a high-level API to use multiple translators. Unfortunately, not all translators are available for public free use. Therefore, in some cases (like deepl), the user would need to go to the deepl website and get a private api_key.

Example of using deepl (this is just a suggestion):

deepl = DeepL("some_api_key", "en", "de").translate("anything")