I noticed the default "Garland" is context aware of right-to-left languages when using the internationalization (i18n) module. The entire layout swaps so the logo is on the right instead of the left (etc).

I would like to create my own custom international themes with blueprint already setup to swap languages. Can we add this to blueprint? I'm willing to do any beta testing needed on MAC or PC. I only understand Arabic, so that would be my language of choice for testing.

Comments

finedesign’s picture

I'm including here a couple themes that claim to provide R-to-L support in Drupal 6. I'm not sure if this helps.

http://drupal.org/project/colourise
http://drupal.org/project/strange_little_town (only in beta)

ivan25’s picture

Hi,

We have build a couple of websites in English and Arabic using Blueprint.
What worked the best for us was simply using the Blueprint plugin called RTL.
We then simply create a style-rtl.css file to let Drupal handle the switch from language to language (using i18n) and include this in it

/* Import Blueprint RTL css */
@import url("../blueprint/blueprint/plugins/rtl/screen.css");

This way you can use Blueprint and redefine only the needed styles for your RTL languages without having to think about your layout.

Hope this helps.

Best,

Ivan

finedesign’s picture

Thank you Ivan. This will be very helpful. I'm just not clear where to download the RTL plugin for Blueprint. Can you point me in the right direction?

If you don't mind sharing, I would also be interested in seeing some example urls to see an example.

salaam-
paul

designerbrent’s picture

The RTL plugin ships with the default BlueprintCSS framework.

I'll try and go through my code from a project I did a while back and see if I can get this rolling. The other issue that has to happen is the swapping of the contents on in the regions so that the left side will show on the right side in an RTL format. Unfortunately, Drupal 6 doesn't do that for us by default.

From there, it should only be a few little tweaks to get it working well.

designerbrent’s picture

Status: Active » Needs review
Issue tags: +RTL
StatusFileSize
new3.27 KB

Ok, lets give this a try. Apply the patch and it should work for you. It may need some tweaking but I don't have a working RTL install on my machine.

(the patch is based on placing inside the base blueprint folder so it will be something like this:

/drupal/sites/all/themes/blueprint/blueprint_rtl.patch

Need help applying the patch? http://drupal.org/patch/apply

designerbrent’s picture

StatusFileSize
new3.31 KB
new96.85 KB

Ok.. I've updated the patch file to keep up with some changes in the 2.x dev branch and attached both the update patch as well as a copy of the patched module.

As always, feedback is welcome!

designerbrent’s picture

I've committed these changes now to the 2.x-dev branch. However, that does not finalize it. If you have more changes that need to be made, please let share them.

designerbrent’s picture

Status: Needs review » Fixed

After reviewing the testing that finedesign sent me via email, I'm going to mark this as completed. For any other issues that need to be addressed at the base theme level, please open a new issue.

Status: Fixed » Closed (fixed)
Issue tags: -RTL

Automatically closed -- issue fixed for 2 weeks with no activity.