[wp-trac] [WordPress Trac] #17882: Twenty Eleven RTL update

WordPress Trac wp-trac at lists.automattic.com
Fri Jun 24 16:02:39 UTC 2011


#17882: Twenty Eleven RTL update
--------------------------+------------------
 Reporter:  yoavf         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.2
Component:  RTL           |     Version:  3.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+------------------

Comment (by azaozz):

 I'm still lost here. Seems you want to make Left to mean Right and Right
 to mean Left when coding.

 Replying to [ticket:17882 yoavf]:
 > ... I'd like the layout classes to be RTL compatible as well (ie.
 '.sidebar-content' should mean that the sidebar is on the right in RTL
 mode)

 I'm against it because:
 - this is not a translatable string
 - this is code, i.e. not user-readable
 - I can understand the desire to make the theme fully RTL compliant, but
 setting small parts of the code to have the opposite meaning seems very
 confusing.

 Unfortunately don't think there are any right-to-left coding languages (C,
 PHP, JS, etc.). All are left-to-right and use English words. So all
 "programers" need to understand a little English in order to learn to
 code.

 Was wondering, how do RTL language speakers write code? Do they use an RTL
 text editor and see something like:
 {{{
                                           one-column .commentlist >
 li.comment {
                                                                  margin-
 left: 0;
                                                             margin-right:
 102px;
 }
 }}}

 But even then swapping Left and Right for one class only would be
 confusing.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17882#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list