simjanos-dev / LinguaCafe

LinguaCafe is a self-hosted software that helps language learners read foreign languages.
https://simjanos-dev.github.io/LinguaCafeHome/
GNU General Public License v3.0
829 stars 25 forks source link

DeepL context. #75

Open simjanos-dev opened 7 months ago

simjanos-dev commented 7 months ago

There is a beta feature in DeepL that allows context to be sent with the words, without counting it towards the monthly limit. This should be added to the DeepL search.

simjanos-dev commented 5 months ago

Good news is that the Laravel code is great and I can do this with barely any code change.

The bad news is that the Vue code is so bad, that I have to modify a lot of code to make it work, and it would make the code even worse. So I will have to take some time instead and rewrite a lot of Vue code with better code structuring.

Since this is an alpha feature for DeepL and may become paid later on, and there are a lot of other issues that are also important, I will work on other issues, and come back to this one in the future.