ruby-i18n / i18n

Internationalization (i18n) library for Ruby
MIT License
986 stars 411 forks source link

Only require 'other' plural subkey for locales where pluralization rules are undefined #707

Open JasonBarnabe opened 6 days ago

JasonBarnabe commented 6 days ago

Previously, the 'one' and 'other' subkeys were both required, with the 'zero' subkey being optionally used. This failed for some languages that do not have a 'one' form. All languages have an 'other' form, so make that the only subkey that's required, and turn 'one' into an optional subkey just like 'zero'.

Fixes #706