Is it possible to have pages in a bilingual Drupal site that are completely different from the main theme in appearance?

Like a sub site but the content is managed in the same bilingual Drupal install...

And in two different languages?

I understand that you can have different themes for different nodes but they all have to use the same .info file and style sheets.

Any tips are appreciated.

Comments

jmkaep’s picture

I guess you would incorporate the styles into the style sheets listed in the .info file and then create a template files for each node of content that has a different layout..

www.kwebdesign.ca

hferree’s picture

There are also Multilingual modules available that might be more the solution that you are looking for. http://drupal.org/project/Modules/category/97

But this is basically what I've done when needing different templates for certain pages:

Create a separate theme named spanish.tpl.php inside your themename folder. In the menus section create a new menu named SpanishMenu. Insert the SpanishMenu code into the template file so only that menu will show up. In the template.php insert the following code:

function _phptemplate_variables($hook, $vars = array()) {
  switch ($hook) {
    case 'page':
      if ((arg(1) == '33') || (arg(1) == '31')) { 
// 33 and 31 are the number for the nodes that I wanted displayed differently
        $vars['template_file'] = 'spanish';
      }
      break;
  }
  return $vars;
}

Technically you should be able to use the drupal naming method (page-node.tpl.php, etc see http://drupal.org/node/190815) to do the same thing, but I've had better luck with the above code.

Good luck.

hferree’s picture

Tutorial - Building a multi-language site
http://drupal.org/node/275705