Skip to content

Support for multiple plurals #268

@boredland

Description

@boredland

🐛 Bug Report

While i18next supports multiple plurals, e.g. with the _two suffix, i18next-scanner seems to only support _one and _other, even with v4 enabled:

Ref.: https://www.i18next.com/translation-function/plurals#languages-with-multiple-plurals

Image

Expected behavior

If _two etc. are given for a key that has a count, and if compatibilityJSON: "v4", then keep it.

Your Environment

  • i18next version: 4.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions