Nitrino / easysubs

Browser extension for learning languages with watching movies and TV shows
https://easysubs.cc
MIT License
244 stars 22 forks source link

Integrate stardict.js (Most common dictionary file format) #241

Open W1Real opened 2 months ago

W1Real commented 2 months ago

https://github.com/tuxor1337/stardict.js

Then, instruct your users the same:

PyGlossary allows to convert between many different dictionary formats, perhaps if that stardict.js is broken, a easy hack is to simply allow CSV dictionary import, by using PyGlossary a user can convert their favorite dictionaries to CSV and load up in the EasySubs.

You might even ship to the chrome store some of those dictionaries, or do an auto-downloader like how KoReader does. (Check the licenses, obviously)

It works 100% offline, and the ebook-reader community out there gives a lot of support to that format, and to creating new high-quality dictionaries in that format.

We can even get easily the IPA transcriptions for words (in many languages) by integrating: https://github.com/open-dict-data/ipa-dict

The simplest way to implement this, is to simply allow multiple dictionaries to be shown for each entry, then we can simply select let's say the IPA_DICT_FR and FR-EN-Wiki Dict, etc... This is how KoReader and GoldenDict does.

Multi-dictionary will also allow multi-language without any extra steps.