Files
archived-orca/src
OrcaWinandOrcaWin 2db73d5e47 fix(i18n): resolve count strings with each language's plural rules (#34693)
* fix(i18n): resolve count strings with each language's plural rules

translate() now resolves a literal _one/_other key passed a numeric count
through its plural family, so i18next picks the CLDR form for the active
language or plugin pack. Built-in catalogs fill missing plural categories
(e.g. many in es/fr/pt) from _other so large counts stay in-language.
_one strings that hardcoded 1 now interpolate the count.

Closes #12106

* fix(i18n): pass value0 to fullCoverage_one so one-form languages interpolate the count

Languages with a single plural category (ja/ko/zh) now resolve count 1 to fullCoverage_other, which interpolates {{value0}}.

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-10-27 20:51:09 -07:00
..