Language switcher: 2 minor glitches

Hi,

I’ve put a language switcher on the footer of www.marcocevoli.com. It works fine, but for some reason I don’t understand, the link to the current page is www.marcocevoli.com/footer instead of simply www.marcocevoli.com. It’s been a while since I installed it, and I can’t remember how to change that behaviour.

The second issue is that I would prefer no link for the selected language. This is probably related to the previous one.

Thanks for your help.

Have you customized the twig templates or?
A solution could be the you check the current uri from your page & if it’s no longer than your host domain (aka |length) you skip that route like you wanted :slight_smile:
If it helps, great, if not provide some more details :slight_smile:

Good luck