module RailsI18n::Pluralization::OneUptoTwoOther

def self.rule

def self.rule
  lambda { |n| n && n >= 0 && n < 2 ? :one : :other }
end

def self.with_locale(locale)

def self.with_locale(locale)
  { locale => {
      :'i18n' => {
        :plural => {
          :keys => [:one, :other],
          :rule => rule }}}}
end