0

For my Ruby on Rails (7) app, I have locale yaml definitions of this form:

de:
  activerecord:
    models:
      author:
        one: AutorIn
        other: AutorInnen

But when I use something like

pluralize(10, Author.model_name.human)

the function doesn't take the correct plural form - it should say "10 AutorInnen", but it says "10 Autors"?

tkhobbes
  • 368
  • 3
  • 16

1 Answers1

1

Maybe use count instead of pluralize? This is what seems to have worked for these similar questions:

Oli
  • 36
  • 4