Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Pathauto only creates an alias for language selected for a node, so if you link to a node in another language, the default now shows node/[nid] when linking to other languages. It is a valid use case when a user wants to link to a node in another language and show a nice alias.
To explain it better, you have a node A (English) linking to a node B (Spanish) with a link like node/[nid of node B].
Currently the intlinks module tries to fetch a URL alias for the node/* link in the language of node A. It would be better to fetch an alias in the language that node B is actually written in.
Comment | File | Size | Author |
---|---|---|---|
#2 | intlinks-fetch_the_alias_for_the_node_language-2671430-2.patch | 792 bytes | seanB |
Comments
Comment #2
seanBAttached is a patch to fix this.
Comment #3
Samvel CreditAttribution: Samvel commentedSeems you should get langcode above, not in internal condition