# Ukrainian pluralization bug

**URL:** <https://meta.discourse.org/t/ukrainian-pluralization-bug/54951>\
**Category:** Translations\
**Created:** [29. Dezember 2016 um 21:33 UTC](https://meta.discourse.org/t/ukrainian-pluralization-bug/54951 "2016-12-29T21:33:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [29. Dezember 2016 um 21:33 UTC](https://meta.discourse.org/t/ukrainian-pluralization-bug/54951/1 "2016-12-29T21:33:30Z")

</div>

If anyone can help me with pluralization rules in Ukrainian, that would be nice. 😉

Currently, we have [these rules](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/locales/uk.js.erb):

```plaintext
I18n.pluralizationRules['uk'] = function (n) {
  if (n == 0) return ["zero", "none", "other"];
  if (n % 10 == 1 && n % 100 != 11) return "one";
  if (n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 10 || n % 100 >= 20)) return "few";
  return "many";
};

```

If n is 5, then it will default to **many** , but translations we get from Transifex never have **many** in them. e.g.,

```plaintext
    replies:
      one: "1 відповідь"
      few: "%{count} відповідей"
      other: "%{count} відповідей"

```

Should the rules be returning **other** instead of **many**? Or is there a problem with Transifex not returning the translations for **many**?

---

_[View the full topic](https://meta.discourse.org/t/ukrainian-pluralization-bug/54951)._
