3.1.1 Feature or Bug?
See original GitHub issueIs it a feature, that only the first namespace should be passed?
Changelog.md states:
fixes issue in fixing t function - pass only first namespace not an array of namespaces
But this is not a minor change. It broke a lot of our translation.
We used it like:
export default translate(['namespace1', 'namespace2'])(Component);
Can you at least release it as major?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
3.1.1 Head bobbing while sprinting, bug or feature? - YouTube
It feels like I'm on a sinking ship :)In real life our brains compensate for this.Edit: I wasn't at kareah for ages, it...
Read more >Everything about One UI version 3.1 - SamMobile
One UI 3.1 features One UI 3.1 introduces a number of new features. The biggest highlight is the addition of Google Discover on...
Read more >Google releases bug-fixing Android 13 Beta 3.1 update faster ...
Android 13 Beta 3.1 is now rolling out mere days after Beta 3 landed, with only a single fix included.
Read more >Samsung begins rolling out One UI 3.1.1 features to devices ...
1 features to One UI 3.1, its OS for smartphones. Apparently, One UI 3.1 now has faster animations, camera app performance improvements and...
Read more >x3270 Version 3.1.1 -- New Features and Bug Fixes
x3270 Version 3.1.1 -- New Features and Bug Fixes. x3270 3.1.1.6 is functionally identical to x3270 3.1.0.7, with the following exceptions: ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

react-i18next@4.1.0
You can now
translate(['ns1', 'ns2'], { nsMode: 'fallback' }to toggle that back to pre v4 behaviour (using passed namespaces as ordered fallbacks).Or you can set that “globally” by
i18next.init({ react: { nsMode: 'fallback' } });Hi jamuhl,
why not revert it as the next minor and do this as a major? We will not be the only one having this breaking change.
Anyway when I take a look at http://i18next.com/translate/namespace/#basic it seems to be a standard (and nice) feature to pass several namespaces and use the last one as a fallback, without having to prefix it. So honestly I don’t understand the benefit of that change/fix or do you mean this is an issue and you will provide a fix?
BTW:
translate('namespace1')instead oftranslate(['namespace1')is nice and should be documented.