I posted this in the post-installation forum and got no replies, so thought it's more appropriate to post it here

I want to make two versions of my site. An English one and an Arabic. I downloaded the internationalization module, and have been reading a lot , but am not sure what I wanna do needs much effort. After all, all I want to do is :

- Make a link to the Arabic theme (English is the default)
- Make two menus of the site in English and Arabic (primary links menus preferably)
- Ability to add content in English and Arabic through whichever editor with proper formatting.

I don't want to translate the drupal interface , or translate automatically the content. I already have the english and arabic articles. Basically, how to make an arabic primary link menu? and how to be able to add arabic articles with proper rtl and formatting?

Comments

hass’s picture

Status: Active » Fixed

Enable Content translation module and i18n and configure everything as documented. How language switching is done depends on configuration. At very first ENABLE language switcher block...

Avatar’s picture

ok, I think i am in the process of getting it, but one problem emerged. I created the Arabic links in the primary link menu and enabled them for arabic only of course, but now they are displayed just like english ,that is ltr. So my question is how to make the arabic links in the menu display rtl?

hass’s picture

You'd like to display an Arabic link in an English menu? Puh... I remember someone found a solution for a newsticker... was somewhere else... the idea was - collect the language of the content and theme the depended content with a CSS class to RTL. This may be a complex task with a menu... never done it yet.

Avatar’s picture

Actually there are two menus, one that displays only when the language selected is English and the other when Arabic is selected. I want the English menu to be ltr and the Arabic rtl :)

Avatar’s picture

Actually the whole Arabic side of the site needs to be rtl. Titles of Arabic articles are on the left and I want them on the right. I think i am missing a feature or setting or something, what makes the arabic side rtl in all pages

hass’s picture

You need two themes. One for RTL and one for LTR and they need to be switched on language change. Maybe use sections for this with custom PHP code.

hass’s picture

Correction - you need one D6 theme that have both RTL and LTR support implemented... Not sure what theme you are using. There are not so many themes available with good RTL support...

You can try out the YAML theme offered under http://www.yaml-for-drupal.de/. YAML is a CSS Framework with big documentation (http://www.yaml.de/en/) - it's very great code and stable.

Avatar’s picture

How about the idea of building a multi-site (under same domain) where the english ones uses the ltr theme and the arbaic uses an rtl one. Is that possible? Problem is I built the theme using Artisteer which doesn't offer much rtl support it seems.. or will that be complicating things too much?

hass’s picture

Never heard about Artisteer. I can only suggest to use a good and popular D6 theme with RTL support. Every D6 theme should implement LTR and *RTL*, but most don't do it yet. If your theme does not provide RTL CSS you need to develop it yourself and may give it back to the community or use a better theme that implements both... hopefully you find one with not so much bugs :-).

I'm sorry to say that finding a nearly bugfree RTL theme may be a difficult task for the reason that the most development is only done for LTR. YAML is a perfect basis, nevertheless it's my work - but you should not expect tooo much from other themes except the ones included in D6 core... and pushbutton is also not the best... Garland is a good one.

I do not get the idea about the multi-site question above... The only clean Drupal way is using a theme with both RTL and LTR support for using both languages on one site. If you have such a theme - you will understand what I'm talking about... try with Garland and you may get an idea how easy the switching between RTL/LTR languages is.

Avatar’s picture

Ok i tried Garland, but still as I mentioned in post 5, even with Garland, titles of the articles are still aligned left??

hass’s picture

You need to switch to a RTL language.

Status: Fixed » Closed (fixed)

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