Closed faculezcano closed 1 year ago
When trying to use formatters it fails with Cannot read properties of undefined (reading 'locale') which is because no options is being passed to i18next.format() function.
Cannot read properties of undefined (reading 'locale')
options
i18next.format()
At this line https://github.com/i18next/i18next/blob/9304a251e54d58cda88fb484299bef67f2025c2e/src/Formatter.js#L95 you can find where options.locale fails if undefined is passed
When trying to use formatters it fails with
Cannot read properties of undefined (reading 'locale')
which is because nooptions
is being passed toi18next.format()
function.At this line https://github.com/i18next/i18next/blob/9304a251e54d58cda88fb484299bef67f2025c2e/src/Formatter.js#L95 you can find where options.locale fails if undefined is passed