🐛 Bug Report
Default values in t function do not work
To Reproduce
t("key1", {count: 0,
defaultValue_zero: "no item",
defaultValue_one: "one item",
defaultValue_other: "{{count}} items",
})
renders: one item
Expected behavior
It renders "one item" whereas I would have expected zero.
If I put this in a traduction file it works but I want my code to be the source of thruth.
Your Environment
- runtime version: browser
- i18next version: 23.7.18
- os: Windows
- any other relevant information
🐛 Bug Report
Default values in t function do not work
To Reproduce
Expected behavior
It renders "one item" whereas I would have expected zero.
If I put this in a traduction file it works but I want my code to be the source of thruth.
Your Environment