Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature key prefixes #223

Closed
CarsonF opened this issue Jul 7, 2022 · 0 comments · Fixed by #264
Closed

Feature key prefixes #223

CarsonF opened this issue Jul 7, 2022 · 0 comments · Fixed by #264

Comments

@CarsonF
Copy link

CarsonF commented Jul 7, 2022

Support key prefixes i18next/react-i18next#1371

const { t } = useTranslation('translation', { keyPrefix: 'very.deeply.nested' });
const text = t('key'); // extract as "very.deeply.nested.key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant