--- includes/common.inc.orig 2008-11-11 15:36:11.000000000 +0100 +++ includes/common.inc 2008-11-11 15:40:07.000000000 +0100 @@ -1601,6 +1601,8 @@ function drupal_attributes($attributes = * an HTML string containing a link to the given path. */ function l($text, $path, array $options = array()) { + global $language; + // Merge in defaults. $options += array( 'attributes' => array(), @@ -1608,7 +1610,8 @@ function l($text, $path, array $options ); // Append active class. - if ($path == $_GET['q'] || ($path == '' && drupal_is_front_page())) { + if (($path == $_GET['q'] || ($path == '' && drupal_is_front_page())) && + (empty($options['language']) || $options['language']->language == $language->language)) { if (isset($options['attributes']['class'])) { $options['attributes']['class'] .= ' active'; } --- includes/theme.inc.orig 2008-11-12 03:13:23.000000000 +0100 +++ includes/theme.inc 2008-11-12 03:14:29.000000000 +0100 @@ -1134,6 +1134,7 @@ * A string containing an unordered list of links. */ function theme_links($links, $attributes = array('class' => 'links')) { + global $language; $output = ''; if (count($links) > 0) { @@ -1152,7 +1153,8 @@ if ($i == $num_links) { $class .= ' last'; } - if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '' && drupal_is_front_page()))) { + if (isset($link['href']) && ($link['href'] == $_GET['q'] || ($link['href'] == '' && drupal_is_front_page())) + && (empty($link['language']) || $link['language']->language == $language->language)) { $class .= ' active'; } $output .= ' $class)) . '>';