use more than one name space at once #133
Unanswered
rubenmarcus
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @rubenmarcus, this feature is intentionally not supported currently (see #41). You can solve it like this though: const t = useTranslations();
t('Home.title');
t('Butons.title'); Hope this helps! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
is it possible to use more than one namespace at my component?
I dont see how if I need to load like :
const {t} = useTranslation(['Home', ' Buttons'])
ts complains...
how to do that?
thanks
Beta Was this translation helpful? Give feedback.
All reactions