[wp-trac] Re: [WordPress Trac] #6425: Support for RTL in feeds
WordPress Trac
wp-trac at lists.automattic.com
Tue May 27 10:42:39 GMT 2008
#6425: Support for RTL in feeds
-----------------------------------+----------------------------------------
Reporter: RanYanivHartstein | Owner: anonymous
Type: enhancement | Status: new
Priority: normal | Milestone: 2.7
Component: i18n | Version:
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+----------------------------------------
Changes (by RanYanivHartstein):
* keywords: => has-patch 2nd-opinion
* summary: Support for RTL in fees => Support for RTL in feeds
Comment:
I'm enclosing a better patch to address the feed directionality issue. It
adds directionality characters where needed according to the
{{{text_direction}}} option.
However. it is not a very efficient approach at solving this problem, and
improvements are welcome.
A better approach might be and individual check of the prominent script
used in every post, comment and title - directionality can be set
according to that script.
For e.g., while many Israeli bloggers write most of their posts in Hebrew
or Arabic which are RTL scripts, we should be able to identify the
occasional English post or title and set it to LTR.
This is also true for comments - some visitors may be fluent Hebrew or
Arabic readers, but are more comfortable commenting in English. Their
comments should be displayed properly, from left to right.
Such behavior can be based on work done in Comment Directionality Plugin
by Tom Sella (it currently supports only Arabic, English and Hebrew)
http://www.dontsmile.info/downloads/comment_direction-1.2.zip
--
Ticket URL: <http://trac.wordpress.org/ticket/6425#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list