svenfuchs / rails-i18n

Repository for collecting Locale data for Ruby on Rails I18n as well as other interesting, Rails related I18n stuff
http://rails-i18n.org
MIT License
3.97k stars 2.77k forks source link

Polish: wrong Polish pluralization rules #703

Open jonatanklosko opened 7 years ago

jonatanklosko commented 7 years ago

If I understand everything correctly, then one of these conditions always succeeds, so that :other is never reached. This would also make sense in the context of the rules from the iso gem. Am I right?

jonatanklosko commented 7 years ago

I've just realised that :other is reached for decimal numbers (as shown in this spec), but with that in mind this (and others below) seems wrong to me; looks like they have been copied, see 2c26b35. Is that intentional and are decimal numbers handled in other languages? Anyone from Poland here?

sunny commented 1 year ago

I am not familiar rules for polish, but this may help understand the current behavior: https://github.com/svenfuchs/rails-i18n/issues/744#issuecomment-1550163682