# Used for Moldavian, Romanian. module RailsI18n module Pluralization module Romanian def self.rule lambda do |n| if n == 1 :one elsif n == 0 || (1..19).to_a.include?(n % 100) :few else :other end end end def self.with_locale(locale) { locale => { :'i18n' => { :plural => { :keys => [:one, :few, :other], :rule => rule }}}} end end end end