#14 new
Nando Vieira

I18n.translate doesn't support default message pluralization

Reported by Nando Vieira | April 23rd, 2009 @ 02:43 PM

When trying to set a default message with pluralization settings, the missing translation error is returned

I18n.translate :chars_count, 
  :count => 100, 
  :default => {
    :other => "{{count}} characters", 
    :one => "{{count}} character"

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Internationalization API for Ruby.

This library is used in Ruby on Rails but also suited for use in other contexts.