- Go to Home » Administration » Configuration » Regional and language » Languages and enable URL
- Install "Language switcher dropdown"
- Install "Language icons"
- Activate the language switcher and you'll see red boxes at dropdown box (image path contains path prefix)
My Solution:
I changed url to file_create_url in the module's function lang_dropdown_form().
url() seems to add the path prefix, whats not an good idea for file path's.
| Comment | File | Size | Author |
|---|---|---|---|
| lang_dropdown.module.patch | 757 bytes | CodeInject |
Comments
Comment #1
chapabu commentedWorks perfectly.
Comment #2
ytsurkagree
Comment #3
manfer commentedIn my opinion this should be pushed as seems the correct way to get the path for icons instead of url that generates a language dependant link.
Comment #4
manfer commented