chinese-support-redux icon indicating copy to clipboard operation
chinese-support-redux copied to clipboard

Fetch missing translations or sentences from DeepL?

Open JulienVincenot opened this issue 4 years ago • 1 comments

Hi

Thanks for this add-on, it's just fantastic ! for so many reasons.

I am really new to Anki but I was able very easily to tweak the add-on to work with my already existing decks, bulk-add audio to all my cards (started lazy, stayed lazy... :) and customize tone colors for instance.

Now I have a remark / feature request. I guess many asked before but I didn't find it in past issues : I noticed that when a word is not already in chinese.db the translation field will stay blank. Sentences especially will not be translated (at least this is the case for French)

I don't know how hard it would be to implement in Python, but would it make sense, in case the dictionary returns nothing, to have the option of fetching a translation from the DeepL API or other? That would especially add support for other languages, and I suppose latency would not really be an issue...

Anyway, thanks for the huge work !

Julien

JulienVincenot avatar Sep 26 '20 03:09 JulienVincenot

Something to note for anyone implementing this: the DeepL API requires a pro subscription to use.

Hasnep avatar Oct 06 '20 16:10 Hasnep