Open rvalle opened 3 years ago
I can see that i18n object is the in the page context, but I think it should be accessible from gatsby-browser.js
where gatsby lifecycle events can be subscribed.
I don't think it is possible with the current API. I think i18n is only accesible via context. But I am new to gatsby.
Hi!
adding i18next is breaking my CSS animations, provided by AOS library.
I think I use need to refresh the animations after certain i18n library events.
I cannot figure out, by reading the documentation or looking at the example, how to add event handlers to i18next.
there are event handlers for: initialization, language change, etc
Is it possible to add event handlers to i18next, how?