Skip to content

Plural i18n keys incompatible with OCP Console i18next v4 (_one / _other) #555

Description

@cajieh

Summary

@patternfly/quickstarts resolves plurals with i18next v3 keys (_plural), while many consumers (e.g. OpenShift Console) use v4 keys (_one / _other). Plural chrome then falls back to the English defaults in src/locales/en/quickstart.json.

Non-plural strings from the same consumer bundle translate correctly when the key matches (e.g. Filter by keyword..., Status).

Affected strings

  • {{count, number}} item / item_plural

  • In this quick start, you will complete {{count, number}} task / task_plural

Expected

Support i18next v4 plural suffixes (_one / _other), ideally while keeping _plural for compatibility.


Jira Issue: PF-4495

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