开发者

using different themes for different languages with i18n in drupal 6

I am developing a website which has both English and Arabic versions. I have installed Arabic language and the i18n module, which is working fine and I am able to add Arabic translation for the English contents.The URL prefix 'site.com/ar' is also working fine.

Since Arabic is a right-to-left language I want to show different theme for the Arabic content,which contains images with Arabic text etc.(a flipped or mirror version of the English theme with Arabic text).

Is there any good solution for this scenario where s开发者_开发知识库ite.com/ar should show the Arabic theme and site.com/en should show the English theme?

Thanks,


You may be able to use the Sections module to switch the themes, based on the path.

I'm not sure if this would help with right-to-left languages, but you may also consider adding body classes based on the language and using those to modify the theme.

You may also find Notes on Setting up a Drupal Site for Internationalization and/or Internationalization & RTL Drupal Theming helpful.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜