Skip to content

Conversation

@cqh963852
Copy link

Checklist

  • only relevant code is changed (make a diff before you submit the PR)
  • run tests npm run test
  • tests are included
  • commit message and code follows the Developer's Certification of Origin

Checklist (for documentation change)

  • only relevant documentation part is changed (make a diff before you submit the PR)
  • [ x ] motivation/reason is provided
  • commit message and code follows the Developer's Certification of Origin

While we have multiple packages. Each package has it own locale. and i18n instance.

But useTranslation can't specify which context to be use.

This solution is inspired by react-redux.

@adrai adrai requested a review from jamuhl June 16, 2023 07:17
@coveralls
Copy link

Coverage Status

coverage: 96.013% (+0.03%) from 95.98% when pulling 922e318 on webzard-io:feat/context into 82fe572 on i18next:master.

@cqh963852 cqh963852 closed this Jun 16, 2023
@adrai adrai removed the request for review from jamuhl June 16, 2023 07:42
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.

4 participants