with module Internationalization's language switcher not working

Comments

jwolf’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)

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?

toemaz’s picture

Version: 6.x-1.1 » 6.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review

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.

jwolf’s picture

Assigned: gobioasis » jwolf

Great! Thank you Thomas.
I will create a new release with above mentioned changes.

jwolf’s picture

Status: Needs review » Patch (to be ported)
sk33lz’s picture

Status: Patch (to be ported) » Fixed

Updated in dev release. Fix will be available in next Drupal 6 release.

sk33lz’s picture

Actually went with the fix in this issue instead, as it seemed more comprehensive.

http://drupal.org/node/262264

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.