@two_wheels: IMHO, the best approach would be to offer StarDict and Kindle dictionaries. This should cover most platforms and for each format at least one free reading app exists. Also many Android epub reading apps have hooks for third-party dictionary apps.
Since StarDict dictionaries can't be DRM-protected, you'll have to sell them on your own website or include a password-protected download link in the epub.
Depending on the bookstore, you also might be able to create an epub3 book with JavaScript that searches an embedded sqlite database.
I toyed with this idea some time ago and created a proof-of-concept epub3 book that allows you to search a 10 word English-French word list.
Unfortunately, it only works with the iOS and Android versions of ADE 4.5 and Azardi. (It doesn't work with Sigil or Calibre Editor.)
However, since I only have rudimentary JavaScript skills there might be a bug in one of the JavaScript files.
Last edited by Doitsu; 09-14-2016 at 01:23 PM.
|