Closed (fixed)
Project:
Language Switcher Dropdown
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
17 Jun 2011 at 19:22 UTC
Updated:
12 Jul 2012 at 22:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
lordofthelake commented+1 it worked for me. Thank you!
Comment #2
mxtI had the same issue, and this patch resolve the problem.
Can this be committed in the official release?
Thank you very much.
Comment #3
mxtI've just upgraded to lang_dropdown 6.x-1.7 and this BUG is still present.
Why the patch above after a whole year hasn't be committed yet?
Now the same patch doesn't work with lang_dropdown 6.x-1.7 (error is the same: domain printed twice)
Someone has some idea to resolve?
Comment #4
manfer commentedThe following patch should solve the problem.
Just One Note
----------------------------------
Though drupal has this description for the language domain configuration:
I wouldn't recommend at all to leave the value blank for the default language as that way language switchers won't work correctly -not only language dropdown switcher but core language switcher block too-.
So if you don't have already a domain configured for the default language I suggest going to /admin/settings/language/ and configure the default language. You can use whatever domain you want. So for example if english is the default language depending what we want we could decide to configure domain as: "http://en.example.com", "http://example.com.en", or even just "http://example.com" -not using the language code in the domain name for the default language-. But even in this case using "http://example.com" we have to explicitly configure it in the default language and not setting it blank as the description suggests.
This must be what was trying to solve the old code I have deleted in this patch. It is possible that were correct in older drupal 6 versions not now.
----------------------------------
Comment #5
mxtPatch in #4 resolve the problem.
I confirm that my default language was not blank for the language domain configuration.
I hope this patch will be committed soon, thank you very much.
Comment #6
manfer commentedPushed to dev 6.x-1.x version.