🇸🇪Sweden maxsjoblom Örnsköldsvik
We found a case where the English translations got cached under a different langcode, because config translation overrides weren't loaded yet by the event listener \Drupal\language\EventSubscriber\LanguageRequestSubscriber::setLanguageOverrides
. Since the entity bundle info translations are based on the config override system, we first try to use the active config override language and then fall back to current language. This makes sure that the cached values matches the cache key.
🇸🇪Sweden maxsjoblom Örnsköldsvik
maxsjoblom → made their first commit to this issue’s fork.