FIX: set_locale filter must be executed before check_xhr filter because check_xhr filter renders html in some cases