RTL Support

Posted in: Newspaper
Post count: 9

Is there a way to change to RTL in english language,…

My language is not arabic, but I want website to be in RTL.

Please give me a solution. I could not find an opton to toggle between LTR to RTL. Its really urgent. I thought this theme is with that option.

I dont want my site to be in arabic.

I am from Maldives, we use a language called “Dhivehi”

Kind Regards
Beney

Post count: 6600

Hi,

Unfortunately the theme doesn’t have an option for this. What you can do though is to install WordPress in English then use this plugin to change to RTL: https://wordpress.org/plugins/rtl-tester/ Unfortunately this works only for admin users.
You can try to find a plugin similar to this, like:

https://wordpress.org/plugins/wp-rtl/
http://www.code-styling.de/english/development/wordpress-plugin-wp-native-dashboard-en
Hope this helps and sorry for the delay!

Thanks

  • This reply was modified 11 years by Lucian.
  • This reply was modified 11 years by Lucian.
Post count: 9

I think you didnt get my question. I want to load rtl styles, even though I use not rtl language like english.

Not the backend, but the front page.

Hope I could get a solution.

Regards

Post count: 6600

Hi,

Please edit the style sheet and add this:

direction: rtl;
unicode-bidi: embed;

..to the body tag, like this: http://screencast.com/t/V5ey29qPk
You can read here about this: http://codex.wordpress.org/Right-to-Left_Language_Support
Hope this helps!

Thanks

Post count: 9

It is only changing the text direction from left to right.

none of other changes to right to left. Not MENU, no sidebars, no Logo nothing.

Isn’t it possible to to RTL Css, with out changing to ARABIC.

I am getting so much frustrated after all.

Post count: 388

Ah, those are all very different and require a lot of identifying which elements to float right and in some cases actually reversing elements in template files (I believe). You may need custom work for that, although Lucian may say differently.

Post count: 6600

Hi,

Thanks TheMediumUTM!

@dhibeney

As TheMediumUTM wrote you will need custom work to customize the rtl like that. From what I know I don’t think you can use rtl without using an arabic language, the theme also enables rtl when WordPress is installed in an arabic language.
You can try this solution, which might work:

* do normal english installation
* download a copy of arabic wordpress.
* copy the file wp-content/languages/ar.php from arabic version to english version
* go to wp-config.php and add define(‘WPLANG’, ’ar’);

Install Admin in English plugin after this if you need admin in english.
Hope this helps!

Thanks!

Post count: 9

first of all there is no wp-content/languages/ar.php in this directory.

isnt there any way to load your RTL CSS without arabic language.

I am not arabic and I dont want arabic language. I want my front end in RTL. Thats all.

Post count: 6600

Hi,

You must create one and add <?php $text_direction = "rtl"; ?> like this: http://screencast.com/t/jmCmvMj1d
Other solution much easier would be to edit the rtl.css file and copy the css from there into the style.css file: http://screencast.com/t/0vmoXvGxyKM
Both files are situated in the root of the theme.

Thanks

Post count: 9

Thank You Lucian

This really solves my problems 🙂

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.