Hi Tal,
Thank you very much for your solution It works very well. I have a 3 languages webpage and thanks to this solution, I don’t have to multiply the pages anymore.
Unfortunately there is a still an issue I can’t solve when there are differents links to connect to a same button according to the language selected.
When the language is english for exemple the onclick button must be linked to an Url different from the same onclick button for french language.
I just added the code below after yours. It works for one language but I don’t know how to do it for the 2 more languages
import wixLocation from ‘wix-location’; (at the top of the page)
export function menu4_click(event) {
const lang = ‘francais’;
wixLocation.to(“https://wixsite.com/test/boutique-en-ligne”);
If you can help me, thank you very much in advance