react-i18next
react-i18next copied to clipboard
I18NextProvider.reportNS function does not report default namesapce
It looks like namespaces reported by reportNS is undefined when no namespace is specified and fallback rule is executed.
For example, if I set { defaultNS: 'global' } option in i18next and use translate HOC translate()(Home); then component Home will be translated using global namespace. But reportNS returns undefined
@olivierpascal can you look on this?
This is definitely a bug. I'll take care of it.
@tutok are you using this feature for SSR? Just wondering.
@olivierpascal yes, I use it with SSR
guess this one could be closed...PR was merged