Hey Cg,
You can create an onClick event for the relevant button, check what is the site language preference and redirect to the relevant page:
export function menu4_click(event) {
let lang = local.getItem('siteLangPref');
if (lang === 'English') {
wixLocation.to("https://wixsite.com/test/boutique-en-ligne");
}
if (lang === 'French'){
wixLocation.to("https://wixsite.com/test/boutique-fr-ligne")
}
}
I hope it’s clearer now.
Best,
Tal.