It's currently not possible to use multiple language negotiations when using domain source URL rewriting.
You cannot mix domain-based language negotiation with prefix-based negotiation for example.
Domain source will generate URLs using the current domain language negotiation mechanism not the targeted one.
For example imaging having 3 domains:
- domain
- domain-en
- domain-fr
The default domain uses a language prefix to handle English and French content.
The domain-en and domain-fr domains use domain-based language negotiation to display English and French content respectively.
When links to content whose domain source targets domain-en or domain-fr are displayed on the default domain, they are generated using language prefixes instead of the domain-based negotiation mechanism. Clicking these prefixed links on the language-specific domains results in 404 errors.
The solution is to allow links targeting other domains to be reprocessed by the language negotiation plugin in the context of the target source domain.
Check MR for more details.
Issue fork domain-3570178
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
Comment #3
mably commentedComment #4
mably commentedComment #6
mably commentedComment #8
mably commented