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.
I have a content type X, with its multi-language support set to disabled.
1. The content type multilingual support is set to ''Disabled''.
2. Using pathauto. There is no custom path alias for any content type. The common pattern for content is [type]/[title-raw]
RESULT:
- /en/contenttype/title works, while /fr/contenttype/title doesn't
- When the language is /fr/ the node links are in the format /fr/node/123
EXPECTED:
- /en/contenttype/title and /fr/contenttype/title to send to the same node.
- All lists to point to the corresponding language specific URL.
Desperate.
Comments
Comment #1
Gabriel R. CreditAttribution: Gabriel R. commentedComment #2
Gabriel R. CreditAttribution: Gabriel R. commentedI dugg in the DB and discovered that some of the content that has the problem is actually set to the default Drupal EN language. No idea why. I am looking into that.
Comment #3
Gabriel R. CreditAttribution: Gabriel R. commentedWow, so this is intended behavior. I spent half a day to discover that this was a duplicate of this other issue #258785: Provide more flexible settings for initial language on content types.
I'll use the patch from that page and go sleep now. Hopefully I will be off this job and never have to touch Drupal again before the actual fix comes out in Drupal 8.