move set_locale filter to first line in ApplicationController