-
Notifications
You must be signed in to change notification settings - Fork 10.7k
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
fix: Language priority order not respected when changing server setting #32170
Conversation
Looks like this PR is ready to merge! 🎉 |
🦋 Changeset detectedLatest commit: bd58283 The changes in this PR will be included in the next version bump. This PR includes changesets to release 32 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #32170 +/- ##
===========================================
+ Coverage 53.68% 55.39% +1.70%
===========================================
Files 2298 2317 +19
Lines 50518 51057 +539
Branches 10344 10458 +114
===========================================
+ Hits 27123 28283 +1160
+ Misses 20959 20261 -698
- Partials 2436 2513 +77
Flags with carried forward coverage won't be shown. Click here to find out more. |
/backport 6.6.8 |
1 similar comment
/backport 6.6.8 |
Sorry, I couldn't do that backport because of conflicts. Could you please solve them? you can do so by running the following commands:
after that just run |
/backport 6.7.3 |
…ng (#32170) Co-authored-by: Douglas Fabris <[email protected]>
Pull request #32438 added to Project: "Patch 6.7.3" |
…ng (#32170) Co-authored-by: Douglas Fabris <[email protected]>
/backport 6.6.8 |
Pull request #32443 added to Project: "Patch 6.6.8" |
Proposed changes (including videos or screenshots)
Stop forcing language switch when changing setting. Priority should be:
User Preference > Browser Language > Server Language
In most cases Server language is just a fallback, and that will mostly happen in Desktop browser. If the user has not set a language in his preferences, notifications will respect the server's setting.
Issue(s)
SUP-493
Closes #32008
Steps to test or reproduce
Set a language in the user preferences
Go to admin > General > Language and change to another one
The language will switch to the one set on the setting instead of keeping the user preference.
Further comments