-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
RTL support #673
Comments
How do you imagine that? Just the language display must be rtl or also the layout with the categories on right? |
I would divide it into two changes, one: the important one, is to display the content correctly, so word don't show on the wrong side of the text. This is mostly a problem with mixed text in RTL and LTR text in the same sentence. Second: fix the layout, mostly flip the entire interface from left to right when using RTL language in preference. This can be handled later on. |
It could be great but I think it needs a lot of work and I have not so much time as I thought if I want to release version 1.0 in December :( I will see what I can do but don't expect to see it coming soon… Maybe when extension system will be available it will be easier to add RTL support? |
It would be great, but don't feel urged. you might want to grab some code and logic from https://github.com/fguillot/miniflux which supports RTL at the moment. Thank you very much for your prompt responses and generous attitude! |
Ok, thanks for the link, I will see it later. For the moment I have still some big refactoring tasks to finish and important features to add such as the extension system ;) |
What would be nice is that you provide a translation for a rtl language. This way we can have some material to work with. |
It was tagged as an extension but I think it would better if it was part of the core.
|
I think so. We should to consider the
Later we could create a plugin to switch rtl attribute of entries. |
For the interface, I was thinking to add a way in the actual themes to flip the content. |
It could be a solution yes and based on the global rtl option. |
I don't know if the language tag in the RSS feed is mandatory, but I think we should store it in database when we have it. If we don't have it, we should let the user select the language in a drop-down list. |
any progress for this or do I need to open another bug report? |
@rezad1393 I personally do not have experience with RTL, so help welcome. |
There's no point to opening another bug report, but adding some information could potentially be helpful. I don't know if @marienfressinaud still has his notes & branch around but I wouldn't mind seeing a link to an RTL newsfeed, for example. I'm thinking the solution described above is too limited; isn't the language set using an attribute like this? `xml:lang="ar"` This language should simply be saved and transferred to the feed item. Then the browser will take care of displaying it correctly without us having to maintain any logic. |
Sure, luckily that's 90 % a matter of sticking Would you happen to know any examples of feeds? Because as written above:
|
You can try with: |
That's taken care of automatically by #2656, except more The minor UI hiccups can be fairly easily solved. The ideal would be to use selectors like The only thing I'm not fully sure of is how to add the dir=RTL & class=rtl to the HTML element. What do you suppose would be the best way to add it to the localization metadata, @Alkarex? PS Some resources: |
For the record, response in #2658 (comment) |
I think there is some confusion. |
Hello, thanks for this great application. Can you please add Right-to-left support? It used used for languages written from right to left such as Arabic, Hebrew, Parsi, and more.
The text was updated successfully, but these errors were encountered: