- Issue created by @mjpa
- Merge request !43Issue #3500828: Add a preprocess_field to set the langcode from the language context. → (Open) created by mjpa
- 🇬🇧United Kingdom mjpa
I've created a MR with a potential fix that seems to work in our case. The preprocess field changes the
#langcode
property on the render arrays where it's set to the value from the language context of the config page that the field belongs to.With the MR applied, links to translated content now link to the language version that matches the language context from the config page, instead of the default language of the site.