-
Notifications
You must be signed in to change notification settings - Fork 13
DeepL support #6
Comments
Unfortunately, it's not possible: ( |
I understand. Indeed I see now that their API requires a paid subscription. Keep up the good work! |
I will add the ability to specify a paid account in future |
Okay, that's great to hear. |
Tell that to Deeplator. I have not checked if it works but it can serve as a basis for a C++ and QT implementation. |
@CuloArdido, I just checked it, and it doesn't work. The API URL return error. Even author doesn't know how to bypass this. So no. My guess that DeepL had public API, but, unfortunately they decided to make it paid. Proof that API is paid. 5 euro per month. But you can download their proprietary app :) |
Did you try to get intouch with the company? Maybe there have a better offer for the OpenSource community. |
I don't think they're going to open API for one small open source project. Neither they will make price lower for Crow. |
Если API платный то как тогда работает QTranslate с ним? |
@Xant1k, я полагаю, платит. Не похоже что у них и другие API используются бесплатно. У Вороны использование бесплатного API заметно, т.к. при переводе большого кол-ва слов провайдер (у каждого этот лимит свой) запретит вам какое-то время переводть что-либо. |
TL;DR: it's not technically possible to include DeepL for now, because of their paid and unfree API. There is also not possible to create free account. Also, I dis some research and their EULA basically doesn't allow to use API in FOSS and even Open Source projects. There is QTranslate, which claims to use DeepL API, but it's proprietary and it's seems parsing web pages or something (that's just my guess, don't quote me on that). I tried to just download DeepL page with translation with Curl, but it's, obviously, doesn't worked. There is also some technical issues with requests per day -- even if we, somehow, learn how to parse a site, CAPTCHA will kill our attempts. @Xant1k, почти наверняка договорённость с тем же DeepL, реклама, например. Потому что QTranslate несвободный, могут творить что вздумается. Сегодня бесплатно распространяют, завтра будут драть $$$. Ещё один вариант для Crow это парсить страницу, но это не будет так просто -- curl ничего не отдаст обратно, будет просто пустое поле; нужен бот тогда, который будет через какой-нибудь Selenium собирать информацию, что естественно за рамками Crow. Eщё одна проблема в том, что там теперь аккаунт даже нельзя бесплатно создать, только 30 дней триала, для частных лиц, кстати, ещё и дороже выходит, непонятно почему. Просто чтобы не было недопонимания: если нажать "Создать новый аккаунт" ведёт именно на эту страницу. Видимо, когда-то, как я уже говорил, у них был бесплатный доступ для разработчиков, теперь его нет, увы и ах. Опять же проблема: для использования api нужен постоянный ключ, Crow -- свободное ПО, то есть DeepL, теоретически, могут наехать, потому что:
Выдержка из лицензионного соглашения на использование API. Кстати, вот ещё интересный пункт:
И ещё:
Если я правильно понимаю там ограничение на количество запросов в день, что делает этот сервис бесполезным. Короче говоря, моё мнение, что нужно предоставить возможность ввести ключ (ну или что там потребуется) для пользователей, оплативших подписку. EDIT: судя по FAQ, таки да, там какие-то манипуляции со страницами, но как это работает мы не узнаем. Косвенно мою теорию подтверждает, что ему нужен некий jscript.dll (обход капчи? обход Cloudflare?) В любом случае это будет сложно не только поддерживать, но и имплементировать. |
Should be done on the QOnlineTranslator side. |
It looks like DeepL now has a free API option: |
It would be nice to integrate. If someone want to contribute, I would suggest to look at b323583 to see how the integration is usually done. |
It still doesn't support Russia, for example. List of countries, where service is available is short. |
+1 |
Any updates? |
I would also love DeepL integration. |
Currently no one working on it, but if you want to have this feature - send a PR, I will be happy to review it. |
I'm already explain everything in this comment. Asking every year doesn't make API magically free (and free as a beer) or something. Sorry if this sound rude, but that's not how opensource projects works. You can send a PR, if you're find solution, either that doesn't required paid subscription, or if you're willing to implement credentials settings into Crow UI. Either way will be appreciated. I'm, for example, not so exciting for DeepL, so I'm not interesting in implementing either of this. Maybe out of curiosity I can try to do this, but I'm short on free time. Shatur has same problems as me. Again, this is how opensource works. To be completely honest, I want to finish work with opensource engines (Lingva - parse examples and voice support and LibreTranslate - ?) and make them default. We've already discuss this with Shatur and both come with this decision. This might be more important, because of opensource nature of this project. Also, selfhosters will benefit from this, because you can self-host Lingva\LibreTranslate on your own VPS\VDS. |
As the originator of this thread, I won't even suggest DeepL anymore. Please use FOSS alternatives. |
I will, as soon as they can provide me with decent translations. And so far, they cannot, at least with the languages I'm using them for. @VolkMilit I don't know about others, but I wouldn't mind paying a fee, donation or sponsoring the project in order to get DeepL support implemented. |
@Vistaus, DeepL doesn't work where I live in, so, anyway I can't use it properly. That is why pull request is more then welcome. |
@Vistaus don't DeepL have free API? |
@toprak it's not. There is no Russia, nor Ukraine, so we can't use it, even if we want. Again: PR is appreciated, if you want DeepL to work. For me api returns nothing. Try this example from the docs:
|
This works fine with fast requests, in chrome extension and if you add the right headers it will work without api keys. Examples: |
@Shatur @VolkMilit why don't we scrape the site? |
If anyone interesting on having DeepL integration, I will happy to review and merge a PR ASAP. |
I think the fact that you have to provide a credit card is not a problem because they don't charge you. The developer API is still free: 500.000 characters/month. In Russia, you could use a VPN if you want to use the service. |
@kamaqnkatyqn but the credit card have to be registered on same country as vpns location so that wont work using deeplx api that i sent above is our best option. And i agree deepl has best translation especially when it comes to eng to turkish |
At this point, is there any progress on integrating DeepL into Crow? |
Please, don't bump the issue without significant information. |
@Shatur |
Please! Please add this option to use DeepL in your app! |
Sorry, I busy with other stuff. But PRs are welcome. |
Unsure if this can be done but DeepL https://www.deepl.com/translator seems to be a great translator, better than any. Is it possible to integrate with Crow Translate? Maybe check it out and thanks for your work!
The text was updated successfully, but these errors were encountered: