Skip to content

Only the first plural form is used for Slovak and some other languages #4005

@MiroslavR

Description

@MiroslavR

Only the first plural form is used for Slovak, Czech and some other languages. Transifex seems to have changed the plural form expressions. Since tinygettext does not actually parse the expressions, just match them against a hardcoded expr→func map (which is horrible), now everything is broken. This comment has not aged well: tinygettext/tinygettext#21 (comment)

Yes, we could update the map, but do we want to do this every time Transifex changes something? The proper solution is an expression parser and luckily, someone has already done the job: tinygettext/tinygettext#23. I think it would be best if that was merged in. Alternatively, we could switch to proper gettext.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions