module RailsI18n::Pluralization::OneTwoOther

def self.rule

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

def self.with_locale(locale)

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