set_locale with before filter