FIX: set_locale filter must be executed before check_xhr filter because check_xhr filter renders html in some cases
Merge pull request #1716 from ok-harry/master

set_locale of application_controller.rb must be called earlier