Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
W1Real opened this issue Jun 20, 2024 · 0 comments
Open

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

W1Real opened this issue Jun 20, 2024 · 0 comments

Comments

@W1Real
Copy link

W1Real commented Jun 20, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant