Skip to content

I18n Plural #18

@byhbt

Description

@byhbt

Problem:

translation data {:zero=>"%A, %B %{day_ordinalize}, %Y\n%A, %B %{day_ordinalize},

Solution:

https://github.com/ruby-i18n/i18n/blob/e4ce5e58f0524ae7c34ca94971363e13aa889f36/test/fixtures/locales/plurals.rb
https://makandracards.com/makandra/47056-dealing-with-i18n-invalidpluralizationdata-errors

Lesson:

  • Review the error message over again and again until understand each char - the message is pretty clear.
  • Dig into the log, check for param to understand the context
  • Dig into the gem code

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions