def initialize_with_i18n_routing(name, app, path, constraints, defaults = {})
      @locale = if constraints.key?(:i18n_locale)
        c = constraints.delete(:i18n_locale)
        # In rails 3.0 it's a regexp otherwise it's a string, so we need to call source on the regexp
        (c.respond_to?(:source) ? c.source : c).to_sym
      else
        nil
      end
      initialize_without_i18n_routing(name, app, path, constraints, defaults)
    end
def initialize_with_i18n_routing(name, app, path, constraints, defaults = {})
      @locale = if constraints.key?(:i18n_locale)
        c = constraints.delete(:i18n_locale)
        # In rails 3.0 it's a regexp otherwise it's a string, so we need to call source on the regexp
        (c.respond_to?(:source) ? c.source : c).to_sym
      else
        nil
      end
      initialize_without_i18n_routing(name, app, path, constraints, defaults)
    end
During route initialization, if a condition i18n_locale is present
 Delete it, store it in @locale, and add it to @defaults