Do you want to delve deeper into your own development and are you looking for support?
Whatever your request is -
I look forward to hearing from you.
Thank you!
Thank you for contacting us.
You will hear from us!
Oops! There's something wrong with the form.

Please check.
NEWSLETTER
Sign up for my newsletter here and receive insights and updates on my projects at irregular intervals. Exciting, varied and short.
Thank you, thank you, merci!

We have received your registration.
Please visit your inbox to confirm your registration. Thank you, merci!
Oops! There's something wrong with the form. Please check.
// on Weglot init Weglot.on('initialized', ()=>{ // get the current active language const currentLang = Weglot.getCurrentLang(); // if the current active language link exists if(document.querySelector('.wg-element-wrapper.sw3 [lang='+currentLang+']')){ // click the link document.querySelector('.wg-element-wrapper.sw3 [lang='+currentLang+']').click(); } }); // for each of the .wg-element-wrapper language links document.querySelectorAll('.wg-element-wrapper.sw3 [lang]').forEach((link)=>{ // add a click event listener link.addEventListener('click', function(e){ // prevent default e.preventDefault(); // switch current active language after a setTimeout setTimeout(()=>Weglot.switchTo(this.getAttribute('lang')),700); }); });