I am not using path prefixes on my site. Instead we are using language domains aka: de.domain.com fr.domain.com

In order for this module to work i had to modify the module:

//original
$path = check_url(url($lang_option['href'], array('language' => $lang_option['language'])));

//modified
$path = check_url(url($lang_option['language']->domain, array('language' => $lang_option['language'])));

A check should be added to see what language setting is selected and to build the block based on that. Also, if you make this change, you may have to clear you caches and/or login/logout as the block is cached.

Comments

John Carbone’s picture

Went to go use this module, checked bug reports, asked around the office and found that the person that submitted this bug report was sitting right next to me. Haha.

klonos’s picture

Title: Does not with with language domains » Does not work with language domains

...typo.

mohammed j. razem’s picture

Status: Active » Patch (to be ported)
mohammed j. razem’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

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