Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#555 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
58/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
typescript

Direzione di ricerca

Start by tracing how the affected plural keys are resolved and compare that lookup with the defaults in src/locales/en/quickstart.json. Verify that strings using i18next v4 _one/_other suffixes resolve while existing _plural keys remain compatible, and confirm the affected plural chrome no longer falls back to English.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

Lingua principale
TypeScript
Stelle
15
Fork
47
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di patternfly/patternfly-quickstarts

Tutte le issue di patternfly/patternfly-quickstarts

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.