Repurposing Language Switchers for Weglot

Hello everyone!

I was wondering if someone has worked out how to repurpose Finsweet’s collection of language switchers for Weglot, to be used with Localisation list element now?

This is the collection:

If I’m not wrong, the only way for now to build a switcher is using a drop-down element?

Thank you in advance!

The switcher element is fairly versatile. Merging it with a dropdown is one approach.

I’ve extended that further with flags and localized locale names here;

Thank you Michael, I wanted to get rid of the dropdown because with only two languages it made no sense to me, and build two buttons. I will see if I can trick it myself, otherwise use the dropdown.
Thanks!

You don’t need the dropdown, just use the localization element, you can have e.g. EN and FR as buttons side by side, styled however you like.

Yes I managed that, thank you :slight_smile:
I meant I couldn’t manage to reuse the library of options Finsweet built. For some reason, btw, I could not copy one of them and paste it in the project even when cloning the library as a project.

Anyhow, I got what you meant and it worked, thank you!

1 Like