session[:locale] -> cookies[:language]

Completely untested find/replace. This may very well be a totally valid patch, but I just made this PR to act as a work item after discussion with @breville in HipChat.