Proposed fix for random langauge appearing to be randomly selected ?

Please review this would ensure that the url would have a language_id in it.

I'd suggest making it:

    redirect_to url_for(params.merge(language_id: I18n.locale))

So that you don't lose any other existing parameters. That'll definitely be necessary if we're eventually using this more widely.