# Always use %{count} variable when translating pluralized strings

**URL:** <https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969>\
**Category:** Translations\
**Created:** [March 27, 2018, 2:31pm UTC](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969 "2018-03-27T14:31:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)\
**Post date:** [March 27, 2018, 2:31pm UTC](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969/1 "2018-03-27T14:31:59Z")

</div>

Some languages use the “zero” and/or “one” key for more than the values 0 and 1. Please use the _correct_ variable (like `%{count}`) if you are translating one of those languages. The actual value will be truncated to the static value used in the translation if you aren’t using the variable.

Take a look at the list of [Plural Rules provided by Unicode](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html) if you are not completely sure about your language.

I identified the following languages available in Discourse where translators need to be careful when translating pluralized strings:

- [Bosnian (bs)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#bs)

- [French (fr)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#fr)

- [Latvian (lv)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#lv)

- [Lithuanian (lt)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#lt)

- [Russian (ru)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#ru) – as explained in [Incorrect time delta on post (Ru interface only) - #7 by gerhard](https://meta.discourse.org/t/incorrect-time-delta-on-post-ru-interface-only/83390/7)

- [Slovenian (sl)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#sl) – the translations look OK

- [Serbian (sr)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#sr) – the translations look OK

- [Ukrainian (uk)](http://www.unicode.org/cldr/charts/29/supplemental/language_plural_rules.html#uk)

---

_[View the full topic](https://meta.discourse.org/t/always-use-count-variable-when-translating-pluralized-strings/83969)._
