Skip to content

[Localization] Add counts localization for non-English languages #888

Open
@SadmL

Description

Problem I have

In Russian and in other slavic languages (and not only them, I guess) we have different word endings (+suffixes sometimes).
As I wrote on Crowdin:

1 post = 1 пост (same applyable for 11, 21, 31 and so on)
2 - 4 post(s) = 2 - 4 пост(а) (12-14, 22-24, 32-34 and so on)
5 - 10 post(s) = 5 - 10 пост(ов) (15-20, 25-30, 35-40 and so on)

I don't like using multiple endings in round squares, it's look meh.
Example - Подпис(ка/ки/ок) (Follow/2-4 Follows/5-10 Follows)

Solution I'd like

Using formulas like this, as far as I understand
изображение
Thing is I don't know how to adapt it for other languages if they have different rules for count.
I guess, only if separate this formulas for different languages (if it possible on Crowdin), but it is additional mind load for dev how to manage it properly...

Alternatives considered

No response

Other

No response

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions