We have a component library where components have their own translations and i18n instances that load them.
I can't figure out how to inherit the i18n.language that should exist from a parent context; if using const { i18n } = useTranslation() I'm actually getting the i18n instance that will be declared in that component, not the i18n instance from a parent context. Is there a way to get the ancestor i18n instance without directly passing it in as a prop?