add language filter and add exception to application_controller#set_locale for error controller