Active tags added to non-active language links

Aaron Hawkins - August 9, 2008 - 14:28
Project:Drupal
Version:6.x-dev
Component:locale.module
Category:bug report
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

Active tags are being added to non-active language links which makes it difficult to style the links correctly. I am looking at the code trying to figure out why, but it isn't evident to me.

#1

Freso - August 11, 2008 - 19:31
Project:Language Icons» Drupal
Version:6.x-1.0-beta1» 6.x-dev
Component:Code» locale.module

This is happening in the block even without Language Icons enabled, so it's most likely a core issue. Thus moving to locale.module, which is where the block in question resides.

Now, as to why this is happening, I'm guessing this is caused by the fact that, to Drupal, all the links are pointing to the current (ie., "active") page - just in different languages.

#2

Aaron Hawkins - August 24, 2008 - 13:42
Title:Active tags added to non-active language links» locale bug-Active tags added to non-active language links

Has anyone had a chance to look at this? This is a pretty significant bug for multilingual websites.

#3

Aaron Hawkins - August 24, 2008 - 19:52
Title:locale bug-Active tags added to non-active language links » Active tags added to non-active language links

#4

Freso - August 25, 2008 - 08:42

Your best bet to get somebody's attention to this is to 1) verify that it's also a bug under Drupal 7, 2) help out in the issue queue, and then 3) make some noise about this issue to get other people to look at it.

Another way would be to "bribe" somebody to fix it, as money tends to put things a bit ahead in a developer's queue. ;)

#5

Damien Tournoud - August 25, 2008 - 09:25
Status:active» duplicate

That's a duplicate of #220559: Language switcher block highlights ALL languages as active.

 
 

Drupal is a registered trademark of Dries Buytaert.