Thanks. I tried that and it works if I add ":other" to the translation file.
customer: one: Customer other: Customers I guess that's the way to go. /Erik On 5 Feb, 15:05, Jimmy Stenke <[email protected]> wrote: > Erik Dahlstrand wrote: > > Hi! > > > customer: > > one: Customer > > many: Customers > > > Customer.human_name => 'Customer' > > > How to get the many version? > > Hi, > > Try Customer.human_name(:count => <the number of customers>) > > human_name only passes everything over to I18n.translate, so that would > work. (You can also pass other things, like overriding the locale and > such if you need) > > /Jimmy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "rails-i18n" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rails-i18n?hl=en -~----------~----~----~----~------~----~------~--~---
