[i18n] Languages with multiple plurals aren't properly supported #3271
Labels
Category: Core - i18n
This is related to the i18n core API or locale files.
Status: Needs Discussion
Needs more discussion.
Type: Bug
Unexpected behavior, result, or exception. In case of PRs, it is a fix for the foregoing.
As an example, I saw this code:
Red-DiscordBot/redbot/core/utils/chat_formatting.py
Lines 438 to 445 in f7e2617
For example, in Polish we have 2 plural forms beside the singular:
1 month
->1 miesiąc
(1)2 months
->2 miesiące
(2-4, 22-24, 32-34, ...)5 months
->5 miesięcy
(5-21, 25-31, 35-39, ...)We might need some sort of i18n library eventually, but I think an equivalent of ngettext would be enough for now.
The text was updated successfully, but these errors were encountered: