with module Internationalization's language switcher not working
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?
I had the same problem and was able to fix it. Took me 4 hours of hunting ...
In template.php, line 88
$output .= l($link['title'], $link['href'], $link['attributes'], $link['query'], $link['fragment'], FALSE, $html);
should be
$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.
Great! Thank you Thomas. I will create a new release with above mentioned changes.
Updated in dev release. Fix will be available in next Drupal 6 release.
Actually went with the fix in this issue instead, as it seemed more comprehensive.
http://drupal.org/node/262264
Automatically closed -- issue fixed for 2 weeks with no activity.
Comments
Comment #1
jwolf commentedWould 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?
Comment #2
toemaz commentedI had the same problem and was able to fix it. Took me 4 hours of hunting ...
In template.php, line 88
should be
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.
Comment #3
jwolf commentedGreat! Thank you Thomas.
I will create a new release with above mentioned changes.
Comment #4
jwolf commentedComment #5
sk33lz commentedUpdated in dev release. Fix will be available in next Drupal 6 release.
Comment #6
sk33lz commentedActually went with the fix in this issue instead, as it seemed more comprehensive.
http://drupal.org/node/262264