+++ This bug was initially created as a clone of Bug #1927310 +++
Console supports English messages using the `en` language only. We don't have separate messages for locales like `en-US` and `en-GB`. Currently, the way i18next is configured, console tries to get the `en-US` messages first, which causes dozens of 404 network requests. It doesn't result in any user-visible errors, but it slows down console load, particularly since browser limit how many requests can be made in parallel. This can slow down console load by more than a second in some cases.
We should configure i18next to use the language-only when requesting a namespace to avoid the unnecessary requests.
No locales/en-US request message now on console loads, verified on 4.7.0-0.nightly-2021-03-27-082615
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory (Moderate: OpenShift Container Platform 4.7.5 security and bug fix update), and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.