| 
			
			 | 
		#1 | 
| 
			
			
			
			 Junior Member 
			
			![]() 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!  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#2 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#3 | 
| 
			
			
			
			 Addict 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#4 | 
| 
			
			
			
			 Color me gone 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#5 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			Thanks for all the suggestions!
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#6 | 
| 
			
			
			
			 frumious Bandersnatch 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,570 
				Karma: 20150435 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#7 | 
| 
			
			
			
			 Ex-Helpdesk Junkie 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421 
				Karma: 85400180 
				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/
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#8 | 
| 
			
			
			
			 Grand Sorcerer 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,763 
				Karma: 24088559 
				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.  | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#9 | 
| 
			
			
			
			 Junior Member 
			
			![]() 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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#10 | |
| 
			
			
			
			 Bookmaker & Cat Slave 
			
			![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503 
				Karma: 158448243 
				Join Date: Apr 2010 
				Location: Phoenix, AZ 
				
				
				Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2 
				
				
				 | 
	
	
	
		
		
		
		
		 Quote: 
	
 Well, I'm glad it is working for you, but somehow, somewhere, the "ePUB" part of the equation seems to have vanished... ![]() Hitch  | 
|
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
| 
			
			 | 
		#11 | 
| 
			
			
			
			 Junior Member 
			
			![]() Posts: 4 
				Karma: 10 
				Join Date: Sep 2014 
				
				
				
				Device: none 
				
				
				 | 
	
	
	
		
		
		
		
		 
			
			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.
		 
		
	
		
		
		
		
		
		
		
		
		
		
	
	 | 
| 
		 | 
	
	
	
		
		
		
		
			 
		
		
		
		
		
		
		
			
		
		
		
	 | 
![]()  | 
            
        
    
| Thread Tools | Search this Thread | 
            
  | 
    
			 
			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 03:01 PM | 
| How to automatically create chapter titles and breaks in an epub file? | memenow | Conversion | 2 | 11-27-2012 10:54 PM | 
| Create MediaWiki and RTF links for opening an ePub file with Calibre viewer | johnsidi | Calibre | 1 | 12-17-2011 02:31 PM | 
| Create a valid EPUB file from PRC? | lripperton | ePub | 2 | 01-16-2011 01:09 PM |