Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I wanted to have a multi-language site. I installed qTranslate plugin.
It messed my admin panel even after deactivating qtranslate admin panel shows up in ltr. The admin language is unchanged though, it's Persian.

So I dug into problem and I found this stylesheet link in admin pages:

<link rel="stylesheet" href="http://www.example.com/wp-admin/load-styles.php?c=1&dir=ltr&load=admin-bar,wp-admin,buttons&ver=3.5.1" type="text/css" media="all">

As you can see the dir variable is ltr but it should be rtl. I edited the load-styles.php like this:

$rtl = 1; //( isset($_GET['dir']) && 'rtl' == $_GET['dir'] )

It solved the problem. But it's a hack not a fix. So I want to know is there a way to use rtl styles without this kind of hacking.
The odd thing is that I can't reproduce this problem with my local wp install.

share|improve this question
    
This sounds like the qTranslate plugin didn't uninstall properly. Have you contacted the plugin vendor to discuss the issue with them as well? What did they say? If there is a problem with the plugin I'd say they deserve to know. –  hakre May 25 '13 at 12:47
    
No I didn't, I'll try to contact them. –  Koorosh Pasokhi May 25 '13 at 14:01

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.