code: func (ctrl Controller) SwitchLocale(w http.ResponseWriter, req *http.Request) {
  	utils.SetCookie(http.Cookie{Name: "locale", Value: req.URL.Query().Get("locale")}, &qor.Context{Request: req, Writer: w})
  	http.Redirect(w, req, req.Referer(), http.StatusSeeOther)
  }
docs: // SwitchLocale switch locale