- 🇩🇪Germany sleitner
https://www.drupal.org/node/1928898/revisions/view/9131744/12621033#s-la... → was updated to explain how language overrides work.
I am trying to get (and perhaps even set) the translation of a configuration entity. I do not know how, the ConfigFactory doesn't have anything where I could set a language, no method, no argument, nothing. The ConfigFactoryInterface is not implemented by any other class. All the information provided by https://www.drupal.org/node/1928898 → points to nonexisting things: setLanguage method on ConfigFactory, language.config. prefix objects (I am pretty sure that's just language. prefix because of what I see in LanguageConfigCollectionNameTrait ). #2219499: Generalize language config override responsibility → removed setLanguage from ConfigFactory almost two years ago and left no change record behind. It has this to say in API changes "Active language for configuration is now set on the LanguageManager".
Is LanguageManagerInterface::setConfigOverrideLanguage the one to call, then?
Closed: outdated
9.5
(Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
https://www.drupal.org/node/1928898/revisions/view/9131744/12621033#s-la... → was updated to explain how language overrides work.