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 |
Jump to:
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
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
Has anyone had a chance to look at this? This is a pretty significant bug for multilingual websites.
#3
#4
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
That's a duplicate of #220559: Language switcher block highlights ALL languages as active.