feat: adds support for new "selector" API#1852
Conversation
Currently the Trans componant has this defaultValue: |
|
Like I mentioned earlier, I don't have time to look at this right now—feel free to go ahead without me. |
|
@VIKTORVAV99 can you also have a look at this? |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
… and `Trans` component
|
@ahrjarrett can you update the i18next version to 25.4.0 and test again if still all ok? |
|
v15.7.0 has just been released |
Closes #1758
This PR accompanies i18next/#2322.
What this PR changes
To keep the review of this PR simple, I figured it would help if I talked about the changes, since the actual change is quite small.
Here's a simplified version of what this PR does:
Essentially all this PR does is adds an inline check for whether
enableSelectoris turned on; if so, it processes the tree of translations, rather than generation a union of strings.Checklist
npm run testChecklist (for documentation change)