language switcher not working
shuvuu - June 11, 2008 - 12:37
| Project: | Amadou |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | bug report |
| Priority: | normal |
| Assigned: | jwolf |
| Status: | patch (code needs review) |
Jump to:
Description
with module Internationalization's language switcher not working

#1
Would it be possible to provide more information? Additional information would be useful to figure out what's the problem.
Also, so that I don't have to go hunting around for the module could you provide a link to the module in question?
#2
I had the same problem and was able to fix it. Took me 4 hours of hunting ...
In template.php, line 88
<?php$output .= l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment'], FALSE, $html);
?>
should be
<?php$output .= l($link['title'], $link['href'], $link);
?>
The reason why the original code was wrong is bc the $link array holds an extra field ['language'] which is lost.
Now it isn't anymore.
At your service.
#3
Great! Thank you Thomas.
I will create a new release with above mentioned changes.