1

Can I change the position of the "sidebar first" if I change the website language?

More Details: My default website language is now English, and my "sidebar first" is in left position. This is what I want: to change the position of the "sidebar first" if I make the website in the Arabic language.

5
  • yes, but how depends on the theme, and how you're implementing the multi-language site – Geoff May 27 '15 at 2:28
  • I have the interlocalization module and all configuration by default – SeifBh May 27 '15 at 18:31
  • that's not the name of a module I am aware of... do you mean internationalization? – Geoff May 27 '15 at 18:41
  • Yes that's it !!! – SeifBh May 28 '15 at 10:50
  • then J.Reynolds answer should work – Geoff May 28 '15 at 17:35
3

Install the Context module.

Context allows you to manage contextual conditions and reactions for different portions of your site. You can think of each context as representing a "section" of your site. For each context, you can choose the conditions that trigger this context to be active and choose different aspects of Drupal that should react to this active context.

Make sure that Multilingual select which is part of the Internationalization module is also installed (this will provide the proper condition).

You can now create a new context that has a condition of 'Language' and a reaction of 'Blocks'.

You will create a condition-reaction pair for two cases. First for all the LTR languages, second for all the RTL languages.

Allthough this does not directly answer your question as to regions, you can play around with the reactions, such as template suggestions etc to achieve your objective.

2
  • You'r answer dosen't help me – SeifBh May 27 '15 at 18:32
  • 1
    @SeifBh why doesn't this help you - you need to provide more information - does it not work, does it not work the way you want, do you not want to include a module for some reason, etc. Your response doesn't help us, help you – Geoff May 28 '15 at 17:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.