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

Set custom namespace functions #512

Merged
merged 4 commits into from Mar 28, 2022
Merged

Set custom namespace functions #512

merged 4 commits into from Mar 28, 2022

Conversation

sk-idwell
Copy link
Contributor

When you need to use a custom hook for translations

Why am I submitting this PR

I'm using a custom hook and unable to extract namespaces without writing a custom lexer

Does it fix an existing ticket?

No

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • tests are included and pass: yarn test (see details here)
  • documentation is changed or added

When you need to use a custom hook for translations
@karellm
Copy link
Member

karellm commented Mar 13, 2022

@sk-idwell This PR needs proper testing. Would you mind adding them?

@sk-idwell
Copy link
Contributor Author

@karellm Added a test

@karellm karellm merged commit 237964e into i18next:master Mar 28, 2022
@karellm
Copy link
Member

karellm commented Mar 28, 2022

This is deployed as 6.1.0

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 this pull request may close these issues.

None yet

2 participants