Allow for custom or automatic aliases per translation per node

Created on 22 May 2017, over 7 years ago
Updated 23 May 2023, over 1 year ago

I've found that with the current (Drupal 8) version of Pathauto, it is not possible to have both custom and automatically generated aliases per translation - only per node. For example, if I have a node translated into French and Spanish, and I have automatic aliases, and set a custom alias on the French translation, that custom alias will override the aliases for the Spanish and English translations of the node, as well.

This patch takes the langcode into account, as well as the entity ID. I've tested it pretty thoroughly, but I've never gotten into the guts of Pathauto before, so please test and let me know if anything is missing. It now allows for each translation of a node to use either the custom or automatic alias.

✨ Feature request
Status

Needs work

Version

1.0

Component

I18n stuff

Created by

πŸ‡ΊπŸ‡ΈUnited States aburke626 Harveys Lake, PA, US

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024