Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 06-26-2020, 06:06 AM   #1
Bid
Junior Member
Bid began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jun 2020
Device: ipad
Dictionnary built in ebook

Hi all,
I would appreciate to hear your opinion, solutions, code, etc. for the following problem.
I am working on a multi-lingual interactive ebook. I need to be able to show the equivalent of words in the other language when asked for. For example if the reader hovers or selects the word "live" I should be able to show him its equivalent in French "vivir" by a popup on top of the word.
I am looking for a solution to have these cases handled using a central dictionary and do not piggy bag each word with its equivalent on the text to avoid duplication, size, and the complexity.

Many thanks in advance for your help.
Bid
Bid is offline   Reply With Quote
Old 06-26-2020, 01:06 PM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Bid View Post
I am looking for a solution to have these cases handled using a central dictionary and do not piggy bag each word with its equivalent on the text to avoid duplication, size, and the complexity.
Theoretically, it'd be possible to embed dictionaries in epub3 books and query them with JavaScript, however, IMHO, the best solution would be to distribute the dictionary as a separate StarDict dictionary, which most Android epub apps can access via third-party apps, e.g. ColorDict.
Doitsu is offline   Reply With Quote
Advert
Reply

Tags
dictionnary, jason, java script


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
English to French dictionnary oldbear KOReader 1 03-08-2020 07:04 AM
Built-in Ebook Viewer jazzbo Calibre 8 10-08-2019 10:04 PM
Ebook Readers Built Around calibre? Pizza_Cant_Read Which one should I buy? 4 11-28-2017 05:15 AM
Dictionnary mode and suspend maxime Kobo Reader 0 12-26-2012 06:46 PM
Suggestion for Built-in eBook Viewer ColdSun Calibre 0 06-22-2010 08:13 PM


All times are GMT -4. The time now is 01:03 PM.


MobileRead.com is a privately owned, operated and funded community.