const { t } = useTranslation(['groups','translation']) Here groups and translation are both json files.