Currently, Domain kernel event subscriber is called after the language negotiation one.

So any per-domain language related configuration is not taken into account.

Let's try changing the event listener priority to have Domain initialized before language.

Remember that any language dependent domain configuration will still only be available after the language negotiation has occurred.

Issue fork domain-3547029

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

mably created an issue. See original summary.

mably’s picture

Title: Initialize Domain configuration before language negotiation » Initialize Domain before language negotiation
mably’s picture

Status: Active » Needs review
mably’s picture

Issue summary: View changes
emircanerkul’s picture

Status: Needs review » Reviewed & tested by the community

Hi Mably,

Thank you for the patch, indeed event order change fixed the issue.

  • mably committed 21614602 on 3.x
    Issue #3547029 by mably: Initialize Domain configuration before language...
mably’s picture

Status: Reviewed & tested by the community » Fixed

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.