yassinedoghri / astro-i18next

An astro integration of i18next + some utility components to help you translate your astro websites!
https://astro-i18next.yassinedoghri.com
MIT License
473 stars 33 forks source link

loadNamespaces not working currently #151

Open evolfo opened 1 year ago

evolfo commented 1 year ago

I am trying to load multiple namespaces on a single component and saw that loadNamespaces was available in the i18next documentation. The function doesn't seem to be doing anything at the moment, running it does load any namespaces at all. Is this a known issue and if so is there a timeframe for when this will be fixed? Thanks!

evolfo commented 1 year ago

It looks like it works if you pass two namespaces into setDefaultNamespace(["common", "pricing"]), however the types aren't set up correctly so Typescript complains.