Posting RTL content (Arabic) on a LTR site (English)

jou00jou - May 21, 2007 - 07:19

Hi I am using Drupal 5.1 and I need to be able to post Arabic content on an English based site.
I have tested everything and searched all over the web and it seems all the solutions are focused on drupal version 4.6 with Bidi theme.
I have spent so much time trying to solve this problem.
So, could someone help me PLEASE!
Thank you

What's the actual problem?

Xano - May 21, 2007 - 07:46

What's the actual problem? Don't you get it all posted correctly or do you don't get the text from right to left? In the latter case CSS will save the day.

As soon as I add RTL

jou00jou - May 21, 2007 - 21:10

As soon as I add RTL contents, the theme behaves strangely.
The left side bar in Bluebreeze disappear for example.
Some of the nodes become embedded in each other; I mean one div inside the other. (This happens in all themes including GarlandRTL)

I explained This problem extensively in another post thinking that it was a bluebreeze only issue.
Here is the link http://drupal.org/node/143617#comment-232232
and you could even check the site http://stjohnandstelizabeth.com/

Thank you

GarlandRTL should work in theory

adam_b - May 21, 2007 - 08:23

Have you tried the GarlandRTL theme (http://drupal.org/project/garlandrtl)? It's supposed to be able to alter the directionality based on the language setting for a node. However, I haven't been able to get it to work so far - let me know if you have more luck than I did.

Thank

jou00jou - May 21, 2007 - 21:02

Thank you for your reply.
I tried Garlandrtl but what do you mean by "the language setting for a node"
It seems that there is something very important I don't know about rtl content.
Could you explain more.

Language settings and i18n module

adam_b - May 22, 2007 - 08:28

Basically you can either make your entire site work in RTL, or you can specify that certain areas of it are RTL and others are LTR.

The former could, in theory, be done just by hacking the CSS. For the latter you need to specify which language (and therefore direction) a node is written in. Take a look at the Internationalization module (http://drupal.org/project/i18n), in particular the handbook (http://drupal.org/node/133977) for more info.

This being said, I haven't managed to get the GarlandRTL theme to work properly either, and the theme owner hasn't responded to any requests for the last couple of months, so I don't know what's going on there :(

 
 

Drupal is a registered trademark of Dries Buytaert.