Closed mikeyamato closed 2 years ago
better ask @adrai over at https://github.com/i18next/i18next ;)
@mikeyamato seems to work: https://codesandbox.io/s/react-i18next-http-example-forked-ui9p6j?file=/src/app.js:838-895
Thanks for confirming. I'm going to be extremely embarrassed if this turns out to be a local setting (inherited project).
Whenever I try passing a zero (
0
) number value what returns is the original JSON string with brackets and the key name. Any other number value that gets passed is injected correctly.when passing a zero number value,
i18next.t('greatJobPracticedWords', { number: 0 });
, I get the following:All other number values passed,
i18next.t('greatJobPracticedWords', { number: 1 });
, I get the following: