Closed (fixed)
Project:
Language Switcher Dropdown
Version:
6.x-1.2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Oct 2010 at 19:52 UTC
Updated:
12 Apr 2011 at 15:41 UTC
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
Comment #1
John Carbone commentedWent 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.
Comment #2
klonos...typo.
Comment #3
mohammed j. razemComment #4
mohammed j. razem