Closed creib closed 11 months ago
Hi, is it also possible to read from multiple translation files at the same time? Something like const { t } = useTranslation(['page1-text', 'common'])
const { t } = useTranslation(['page1-text', 'common'])
Thanks a lot
yes
const { t } = useTranslation(lng, ['page1-text', 'common']) t('key', { ns: 'common' })
Hi, is it also possible to read from multiple translation files at the same time? Something like
const { t } = useTranslation(['page1-text', 'common'])
Thanks a lot