if Rails.env.development? || Rails.env.test?

  module I18n    
    def self.exception_raiser(*args)
      exception, locale, key, options = args
      raise "i18n #{exception}"
    end
  end

  I18n.exception_handler = :exception_raiser

end