Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2014, 09:03 PM   #1
theundeadelvis
Junior Member
theundeadelvis began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2014
Device: none
Create an ePub file with both Arabic and English

Hello! I'm a fairly basic ePub user, and I've run into a bit of a conundrum. We convert Word documents to ePub files, so that materials can be made accessible to low-vision/blind students on their mobile devices. We are currently working with some documents that contain both Arabic and English in them. Getting a reader to read aloud the Arabic is working, but we have been unable to get it to read both the Arabic and the English aloud. So, if there's a sentence in Arabic, and then a small section of English, it will read the Arabic, but not the English.

Is ePub capable of this? Obviously, there's the issue of Arabic reading right to left, and English left to right, but we were hoping we could throw the English text in a <span> with dir-ltr or something to that affect.

Any insight you can offer is greatly appreciated. Thanks in advance!
theundeadelvis is offline   Reply With Quote
Old 09-26-2014, 10:00 PM   #2
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
It would seem you would need to be able to access speech engines for both languages and your machine is set up for arabic. A good speech engine takes up a fair amount of space, on the order of half a gig.

There is probably on here who is more knowledgeable than I am who might tell you how you could make the switch from one to the other. It is possible to mark each paragraph start with the language, if the program is capable to reading aloud in both languages. It was in connection with making the machine use the right spellcheck dictionary that this came up.
mrmikel is offline   Reply With Quote
Advert
Old 09-27-2014, 03:08 AM   #3
odedta
Addict
odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.odedta read the news today, oh boy.
 
Posts: 398
Karma: 96448
Join Date: Dec 2013
Device: iPad
I couldn't find any app that has both English and Arabic read aloud functionality. If you do manage to find an app that does that then like mrmikel said, you'd want to mark each paragraph with the language, I assume he meant using the lang attribute.
odedta is offline   Reply With Quote
Old 09-27-2014, 07:04 AM   #4
mrmikel
Color me gone
mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.mrmikel ought to be getting tired of karma fortunes by now.
 
Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
Right. See
http://www.w3schools.com/tags/att_global_lang.asp

for an example.

If you are able to search Arabic, it might be easier to find such an app. The US has a national resource for the blind. You might investigate
http://www.loc.gov/nls/
and see if they know of anything.
mrmikel is offline   Reply With Quote
Old 09-27-2014, 04:14 PM   #5
theundeadelvis
Junior Member
theundeadelvis began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2014
Device: none
Thanks for all the suggestions!
theundeadelvis is offline   Reply With Quote
Advert
Old 09-28-2014, 02:54 AM   #6
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,515
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
It seems you are mostly concerned with text-to-speech processing. That is going to depend a lot on the application you use to read your book.

However, for the text rendering, I suggest you take a look at this page. But keep in mind that ePub 2 uses XHTML, not HTML5.
Jellby is offline   Reply With Quote
Old 09-28-2014, 08:32 PM   #7
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,422
Karma: 85397180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
You can create an EPUB3 combined audio-ebook, and read it with something like this: https://www.readbeyond.it/menestrello/
eschwartz is offline   Reply With Quote
Old 09-29-2014, 07:58 AM   #8
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,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
The Daisy Consortium offers a free Windows app for generating ePub3 books with TTS generated SMIL audio audio overlays from epub2 books (and .html files).
I did a quick test with three French, English and German paragraphs and the generated epub3 file worked without any additional edits with Menestrello and Readium.

@theundeadelvis:
If you find a Windows compatible Arabic TTS voice, you might be able to generate multilingual epub3 books by manually switching the TTS voice in Tobi before generating the sound file.
Attached Files
File Type: epub Tobi_TTS_Test.epub (4.52 MB, 349 views)
Doitsu is offline   Reply With Quote
Old 10-03-2014, 11:13 AM   #9
theundeadelvis
Junior Member
theundeadelvis began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2014
Device: none
Thanks for all the suggestions. Yesterday we found a fairly reliable and simple alternative. Saving the Word documents as PDFs, and then opening the PDF in iBooks, allowed iBooks to read both the English and Arabic text properly.
theundeadelvis is offline   Reply With Quote
Old 10-03-2014, 06:55 PM   #10
Hitch
Bookmaker & Cat Slave
Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.Hitch ought to be getting tired of karma fortunes by now.
 
Hitch's Avatar
 
Posts: 11,460
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
Quote:
Originally Posted by theundeadelvis View Post
Thanks for all the suggestions. Yesterday we found a fairly reliable and simple alternative. Saving the Word documents as PDFs, and then opening the PDF in iBooks, allowed iBooks to read both the English and Arabic text properly.
Undead:

Well, I'm glad it is working for you, but somehow, somewhere, the "ePUB" part of the equation seems to have vanished...

Hitch
Hitch is offline   Reply With Quote
Old 10-06-2014, 02:11 PM   #11
theundeadelvis
Junior Member
theundeadelvis began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Sep 2014
Device: none
Quote:
Originally Posted by Hitch View Post
Undead:

...but somehow, somewhere, the "ePUB" part of the equation seems to have vanished...

Hitch
Yep, lol. Not exactly the route we were hoping to take, but given the time we had allotted, and the effort required, this ended up being our best bet. Thanks again for everyone's help.
theundeadelvis is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically create chapter titles and breaks in an epub file? memenow ePub 2 12-06-2012 02:01 PM
How to automatically create chapter titles and breaks in an epub file? memenow Conversion 2 11-27-2012 09:54 PM
Create MediaWiki and RTF links for opening an ePub file with Calibre viewer johnsidi Calibre 1 12-17-2011 01:31 PM
Create a valid EPUB file from PRC? lripperton ePub 2 01-16-2011 12:09 PM


All times are GMT -4. The time now is 07:40 AM.


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