Language switcher example creating invalid URLs for missing translations

@texnixe

How can I do this with the returned url string? This would solve my problem, I guess.