+ @pluralizers ||= {
+ :en => lambda { |count, entry|
+ case count
+ when 1 then :one
+ else :other
+ end
+ },
+ :ru => lambda { |count, entry|
+ case count % 100
+ when 11,12,13,14 then :many
+ else case count % 10
+ when 1 then :one
+ when 2,3,4 then :few
+ when 5,6,7,8,9,0 then :many
+ else :other
+ end
+ end
+ },
+ :sl => lambda { |count, entry|
+ case count % 100
+ when 1 then :one
+ when 2 then :two
+ when 3,4 then :few
+ else :other
+ end
+ }
+ }