Hello

I am a bit lost, i cannot find the code that uses the i18n language block anyway, i really want to override this as i want to have a select box with the languages and a button to switch instead of a list.

If anyone could point me to the right direction it would be awesome.

Thank you.

Comments

hass’s picture

Title: Change output » How to change language switcher block into selectbox?
Status: Active » Fixed

I think you need to have a block-locale-0.tpl.php first to remove the title of the block. Additional you may need to write your own module to get the selectbox... check out languageicons. There is an alter hook available to change the link list... and you can take this module code as an example.

Not sure if there is already a module that allows this out of the box... search d.o.

hass’s picture

Status: Fixed » Closed (fixed)
Issue tags: -block output override

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