Bug with Russian language

AI 生成的摘要

A bug in the Russian language translation of Discourse was reported by Pirat, where pluralization rules incorrectly display numbers (e.g., “1”, “2”, “3”) in place of proper Russian forms like “Новые”. Screenshots and code links were provided, pointing to issues in client.ru.yml where {count} placeholders behave incorrectly, especially with zero values — which don’t appear in the English version. cpradio initially suspected missing translations on Transifex, but Pirat confirmed translations exist and the issue lies in code logic. riking identified the root cause: missing many pluralization forms for replies_lowercase, likes_lowercase, and users_lowercase in Russian. gerhard clarified that these are indeed missing translations on Transifex and invited community contributions. All other reported issues were confirmed fixed, and the topic was closed.

should be new (2) new and (3) - русский язык Новые (3)

I propose to make another automatic change of language, depending on the user’s region

Translation probably doesn’t exist in Transifex ( https://www.transifex.com/projects/p/discourse-org/ )

there is a translation, just this bug occurs when the number 1 menyaetsya 2 and so on

I visit these positions and when 1
bug disappears

where there is an error

I cannot find the numbers ({{count}})
I know that a mistake somewhere in the code when it counts count

zeros should not be, in the English version they are not

1 个赞

There is a missing many for ru.js.replies_lowercase, likes_lowercase, users_lowercase. Everything else has the full set of one/few/many/other.

1 个赞

Those are just missing translations on Transifex. Feel free to contribute to the Russian translations :wink:

https://www.transifex.com/discourse/discourse-org


All the other problems mentioned above are already fixed, so I’m closing this topic.

3 个赞

This topic was automatically closed after 18 hours. New replies are no longer allowed.