The i18n submodule "multilingual variables" allows e.g. different logos for different languages. The general theme settings support this, however delta module does not.

Could you implement this? See http://drupal.org/node/1113374

Comments

jessicakoh’s picture

I have the same problem. How did you solve this?

gaele’s picture

Hi Jessica,

I solved this in the theme template. It's a bit ugly, but it works.
This is for an Omega subtheme:

function yourtheme_alpha_process_region(&$vars) {
  if (in_array($vars['elements']['#region'], array('branding', 'menu_first', 'menu_second', 'content'))) {
    $theme = alpha_get_theme();

    switch ($vars['elements']['#region']) {

      case 'branding':
        if ($GLOBALS[LANGUAGE_TYPE_INTERFACE]->language == 'nl') {
          $vars['site_name'] = $theme->page['site_name'];
          $vars['logo'] = preg_replace('#/[^/]+.png#', '/logo-nl.png', $theme->page['logo']);
          $vars['logo_img'] = $vars['logo'] ? '<img src="' . $vars['logo'] . '" alt="' . $vars['site_name'] . '" id="logo" />' : '';
          $vars['linked_logo_img'] = $vars['logo'] ? l($vars['logo_img'], '<front>', array('attributes' => array('rel' => 'home', 'title' => t($vars['site_name'])), 'html' => TRUE)) : '';
        }
        break;      

        .....
jessicakoh’s picture

I've a workaround. Use nodoblock. Nodeblock allows translation block.

Just an idea.

Thank you for the code. :)