fixes language switch via url as of #1080

I fixed the URL lang parameter behaviour. You can switch languages via the URL now.
This is funky