Closed biscuitwithtea closed 2 months ago
Thanks for report.
Let's start with the order of words. I cannot fix that, as you use LTR layout (English language), which means you see text from Left-To-Right.
Solutions:
Now about "This file is empty or corrupted".
This happens, because parser could not get any text from the book (some books are just buggy and text cannot be extracted). I have no fix to that, I will try to look into parser, maybe some issues with filtering out or identifying Arabic.. For now, you can try to convert your ".pdf" file in ".txt" as it works much better.
I'll gladly help translating the app into Arabic
Forcing RTL layout didn't work , and converting to txt made it this way :
Then probably invalid file. If even after converting - with another software, then it's not an issue on my side. TXT files are read as is, which excludes formation errors.
Please provide the file with error, so I can look for myself.
And the one you couldn't add "pdf"
اميوليت_متجر_الساحرةمانديليب،_ابراهام_ميريت.pdf
There are many , but here is one of them
TXT file that you provided is invalid. PDF file cannot be extracted correctly. Converting PDF to TXT is very hard itself, but in Arabic, it is almost impossible.
I was able to successfully add and open Arabic books in EPUB, TXT. Please, if you can, use EPUB(though maybe you will need to wait for the new update, as I greatly increased compatibility, see: #42). It is much better for text extracting.
PDF itself is not created for extracting, I spent weeks trying to do extract text correctly, and it still has issues I can't fix. Most if not all Readers load PDF directly, while I extract text from it.
Also, the app will soon be available for translation on Weblate, I would be grateful if you could translate it. Sorry for inconvenience, the most I can suggest to you is use EPUB.
It's okay I'll gladly help translating the app
epub worked well
Texts in Arabic shows words incorrectly : the order of letters in each word is replaced