Process the Unicode RTL Mark to display right-to-left content properly
http://en.wikipedia.org/wiki/Right-to-left_mark
Seems like everything is processed as left-to-right at the moment.

We’ve added RTL post detection to API and web interface.
Please vote for RTL interface, if you’re interested: http://theoldreader.uservoice.com/forums/187017-feature-requests/suggestions/5683750-rtl-interface-localization
-
MrAli commented
There is a 'language detect' API written by Google which is used in all Google products (Gmail,
Translate, and also Reader). It can force the directionality of a text box based on the detected language
of the content: http://code.google.com/apis/ajax/playground/#language_detect
also In RSS feeds you can Lookup the "language" node of the feed and it is considered as RTL if it starts with ar, fa, ur, ps, syr, dv, he or yi.
To display text in right to left mode just use the "direction" CSS property with "rtl" value. -
foo commented
In the mean time I created a userscript that adds a "Toggle Direction" button to posts:
http://userscripts.org/scripts/show/172665I only tested it on chrome, but I don't see why it shouldn't work on Firefox+Greasemonkey.
This is only a temporary solution until the TOR team fixes this. -
noone commented
You can expose a setting to enable/disable automatic RTL detection.
You can also add a setting for choosing the direction manually for a given post in cases where the automatic detection fails. -
foo commented
The original Google Reader did a pretty good job of finding out which posts to display as RTL.
I guess you can simply test if the RTL symbol to LTR symbol ratio >1.5 or something like that.Right now the text is aligned to the left, and lines that mix english words/names are garbled up even though the same posts will look good in Google Reader.
-
daniel Rozenberg commented
Google developed an Apache licensed library that can guesstimate a text's direction:
http://closure-library.googlecode.com/svn/docs/closure_goog_i18n_bidi.js.htmlIdeally you should test each block (paragraph/div) separately, making two passes - on the second pass any block that has no guesstimated direction (such as a div containing only an image) should be set to the direction of the paragraphs above/below it. That's my two cents :)
-
Not really, Anonymous. They would enable RTL for every post, even though most of them are LTR.
-
Anonymous commented
-
Yousef Al-Nafjan commented
This is especially important for Arabic and Hebrew content and comments. Everything is aligned left, and mixing any English word in screws up the whole line.
3 votes!
-
Ammar Bahamdeen commented
Indeed, adding Right to Left support would be fantastic. And keep up the good work ;)