Closed (fixed)
Project:
Language Switcher Dropdown
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
31 Mar 2011 at 03:47 UTC
Updated:
12 Jul 2012 at 22:41 UTC
Jump to comment: Most recent file
Comments
Comment #1
Freso commentedActually, I just see the HTML for the image in the dropdown there. However, if the issue started after an upgrade to Language Switcher Dropdown, I'm fairly sure that'd be where the issue is to be found as well. I'd be happy to help in debugging and fixing though, but I won't be near my normal development computer until the end of April.
Comment #2
mohammed j. razemDuplicate of #1111544: HTML in dropdown with Language icons and no JavaScript.
See a temp solution in #1 comment.
Comment #3
Freso commentedAnd as I noted in the other issue, it's not a solution that's going to last into Drupal 7. You can postpone this if you wish, but it will pop up again.
Comment #4
manfer commentedThe solution without having to change any other module parameter is changing the line:
to:
You are adding the icons yourself (with javascript code for the msdropdown menu and with $language_icon when msdropdown is not used) so you don't need the icons included by language icons link hook in $lang_option['title']. It is enough to have the language name in native language. With that change you don't need anymore to force language icons 'Language switcher block' parameter to false. So lines:
can be deleted.
I attach a patch that includes a minor change in lang_dropdown.js too.
Comment #5
manfer commentedComment #6
manfer commentedUps, thought the issue was still 6.x-1.4 version and I was changing it to 6.x-1.5, I revert it back to 6.x-1.x-dev which was correct.
Comment #7
manfer commented