Fix for RTL issues in admin

  1. ailaG

    Problem: LTR plugins in RTL blogs assume the admin is LTR when it's not.

    Other than the aesthetics, it messes with forms. Inline checkboxes or radio buttons will sometimes show next to the wrong option (!!)
    This can be fixed using direction: ltr; on untranslated plugins but in practice plugin authors don't do it.
    (It's easy not to think about it when you don't use WP in RTL...)

    Proposed solution:
    A flag in the plugin's scope that determines whether the plugin writer has made it RTL compatible. If it's off, the plugin admin pages will get direction:ltr; . If it's on, the plugin author has the same freedom as they do today.

    Posted: 4 years ago #
  2. Ipstenu (Mika Epstein)
    Lead Plugin Wrangler

    We try to limit the flags we force in plugins, but are you talking about a CSS call for direction?

    Posted: 4 years ago #
  3. talgalili


    Mika - I imagine the answer is yes.
    Usually having:


    On such plugins would solve the problem.

    Posted: 4 years ago #
  4. lwcorp


    Any progress with it? It's nearly impossible to work with untranslated plugins because of it.

    It should be real easy for WordPress developers to just use LTR for untranslated plugins.
    Just change the opening <div class="wrap"> to <div dir="ltr" class="wrap"> if the plugin isn't translated.

    Any chance you'll do it?

    Posted: 1 year ago #
  5. lwcorp


    See an interim solution in https://wordpress.stackexchange.com/questions/149860/ but it doesn't deal with plugins that were translated to RTL.

    Posted: 1 year ago #

RSS feed for this topic


You must log in to post.

  • Rating

    3 Votes
  • Status

    This idea is under consideration