![]() |
#1 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2019
Device: Kindle
|
Wrong order of wors when converting Arabic ebook
Hi there,
I have tried converting some ebooks (epub) in Arabic for a Kindle. The words look good, but the order of words is wrong. For example, this would be the correct right-to-left order: .Arabic in sentence a is This ![]() When I open the epub (before conversion) in my computer, in Calibre's Viewer, it looks good. But when I open it in my Kindle, the text is aligned to the left (as in English) and the order of words is left to right (as in English). ![]() Is there any special setting that I must use to keep the correct order and alignment? Cheers, Manuel |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Are you converting your book to KFX format for Kindle?
As far as I know that is the only Kindle format that correctly renders books in Arabic. |
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2019
Device: Kindle
|
Hi jhowell,
Thanks for your reply. I don't see KFX as an output format in Calibre. Could you please give me more details? Cheers, Manuel |
![]() |
![]() |
![]() |
#4 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2019
Device: Kindle
|
I have found the plugin to convert to KFX, but I get an error:
calibre, version 5.8.1 ERROR: KFX conversion failed: <p><b>Cannot convert عالم صوفي</b><br><br><b>Conversion error:</b> Exception('Kindle Previewer 3 not installed as expected. (C:\\Users\\souto\\AppData\\Local\\Amazon\\Kindle Previewer 3 missing)')</p> Any tips? Cheers, Manuel |
![]() |
![]() |
![]() |
#5 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2019
Device: Kindle
|
I have managed to install the plugin and I now see the KFX format in the conversion dialog. However, when I send the book to my kindle, the result is the same: still left to right directionality.
Anything else that I might be doing wrong? Thanks. Manuel |
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Possibly something is wrong with the metadata or html coding of the book. Check that the language of the book is set to Arabic and the text direction is rtl.
|
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 11
Karma: 10
Join Date: Aug 2019
Device: Kindle
|
thanks jhowell,
The stylesheet.css file has `direction: rtl;` in every element and every html has `dir="rtl" lang="ar" xml:lang="ar"` in the root html file. Is there anything else I should check? The original epub file looks fine when I open it in Calibre Viewer, which makes me think that the problem must be in the conversion into the format that is sent to my Kindle. Thanks. Manuel Last edited by msoutopico; 12-26-2021 at 10:57 PM. |
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,070
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
I don't know what could be happening here.
A sample that demonstrates the problem would help. You could produce an EPUB with a couple of paragraphs of generic text, convert that to KFX, and verify that it reads incorrectly. Then if you post both the EPUB and KFX files here I will take a look and see if I can tell what is going wrong. |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Converting arabic Books | sami19 | Conversion | 5 | 12-24-2014 06:06 AM |
Wrong author sorting order | Gnolive | PocketBook | 3 | 11-15-2013 04:32 PM |
Wrong sort order when slash (/) in ebook name | rfog | Calibre | 4 | 07-31-2012 09:55 AM |
arabic not displayed correctly after converting with calibre | mhmohamadi | Apple Devices | 0 | 05-23-2010 02:26 PM |
Books added to Reader in wrong order | BeccaAnn | Calibre | 2 | 12-23-2009 09:47 PM |