We previously initialized i18n on every middleware invocation. This happened to be called after harvester was loaded by the authenticated middleware which loaded it's i18n keys.
This will now call i18n/init in a 404 after the auth middleware is called and harvester pages are loaded.
Areas or cases that should be tested
Plugin translations, mostly Harvester.
Screenshot/Video
Checklist
[x] The PR is linked to an issue and the linked issue has a Milestone, or no issue is needed
[x] The PR has a Milestone
[x] The PR template has been filled out
[x] The PR has been self reviewed
[x] The PR has a reviewer assigned
[x] The PR has automated tests or clear instructions for manual tests and the linked issue has appropriate QA labels, or tests are not needed
[x] The PR has reviewed with UX and tested in light and dark mode, or there are no UX changes
Summary
We previously initialized i18n on every middleware invocation. This happened to be called after harvester was loaded by the authenticated middleware which loaded it's i18n keys.
This will now call i18n/init in a 404 after the auth middleware is called and harvester pages are loaded.
Areas or cases that should be tested
Plugin translations, mostly Harvester.
Screenshot/Video
Checklist