module RailsI18n::Pluralization::OneWithZeroOther

def self.rule

def self.rule
  lambda do |n|
    case n
    when 0, 1 then :one
    else :other
    end
  end
end

def self.with_locale(locale)

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