Streaming live at 10am (PST)

Changing the URL reference in the button for a different language version


Is it possible to set a different URL link in the button when changing the language version, if I use Weglot?

Does anyone know a proven method or have a custom code?

I will be grateful for your help.

No one? :frowning: I still have no idea…

After a week of thinking, I had an idea how to do this. Very simple. I created two buttons EN and PL. I set the on click animation on the language trigger, in which I turn the display off and on depending on the language. Of course, each button has a different url to which it refers.

I am writing if someone had a similar problem and was looking for an answer :slight_smile: