Always use %{count} variable when translating pluralized strings


(Gerhard Schlager) #1

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 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:


(Gerhard Schlager) #2