-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: Right-to-Left (RTL) support #3279
Comments
We've looked at this one a couple times and its a bit more work than initially expected. But going to try and get it out of the way now. I see a few distinct pieces we need to do:
|
This would be the best gift for 2024 for many users like myself! Fingers crossed. |
@jacksonh |
@PandaBrrr sorry i missed your comment before. That's exactly what I am starting to do here: #3619 Basically our next steps are:
I am also wondering about changes to the library view, it might be tricky to mix RTL and LTR titles in the library, along with summaries. |
@jacksonh I dug up my old Pocket account to see how they do it:
I don't see any summary in the mobile app, but I can check how it works in the web viewer when I'm back home. |
oh funny, so they do RTL the title but left everything else LTR? |
@jacksonh |
@PandaBrrr the code to detect RTL isn't live yet but you can manually enable it now on web by going into the reader settings (the thing where you set the font), going to advanced, and enabling right to left text. Unfortunately this will set it for all articles at the moment. You'll also have to do a refresh of your browser after enabling it. |
@jacksonh That's brilliant, thank you! I'm testing it now. |
Thanks, i did some testing for library changes to support too. The detection changes might take a bit more as it requires extension updates and mobile app updates. |
@jacksonh |
Texts in languages that are written right-to-left (Hebrew, Arabic, Persian, etc.) are currently displayed incorrectly. With close to a billion of speakers worldwide, this issue likely affects tens of millions of potential users.
There are two main issues that make reading RTL languages in LTR configuration difficult:
Example
Original article:
![image](https://private-user-images.githubusercontent.com/154873861/292832047-d94b27ef-e1a3-4063-bf2c-0dd26c163b8a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEyNTQyODEsIm5iZiI6MTcyMTI1Mzk4MSwicGF0aCI6Ii8xNTQ4NzM4NjEvMjkyODMyMDQ3LWQ5NGIyN2VmLWUxYTMtN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dHVyZT02OTExNWM4ZWIwNzE1MWY4YjFkZTQ5YTc5MjNlMjRjZWVhNjAwODE4Y2RmZWFmZDAxMGM2NDk0YWJhZjIzODU0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.zP8yFxO0JWqVN9i8AOji-UsoYUEiks9ta70ci-eNDlU)
As you can see, the red line representing the first part of the sentence, gets broken in two in Omnivore, with the first half appearing before blue and green, and the second half after. It should be displayed unbroken before the two other parts of the sentence.
A solution to this issue would be greatly appreciated.
The text was updated successfully, but these errors were encountered: