-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
🐛 Bug Report
keyPrefix
not working with the new selector api
To Reproduce
It seems that keyPrefix is not working with the new selector api.
Insetad of a translation I just get "the ket itself" (see picture)
(removed all of the fluff around the issue)
export function TodoWidget() {
const { t } = useTranslation("common", { keyPrefix: "TodoWidget" })
return ({t($ => $.headings.title)}
}
This works:
export function TodoWidget() {
const { t } = useTranslation("common")
return ({t($ => $.TodoWidget.headings.title)}
}
- i18next version: 24.5.0
- seletor api
Metadata
Metadata
Assignees
Labels
No labels