URL alias (Translation is not supported)

Created on 13 January 2021, about 4 years ago
Updated 23 April 2023, almost 2 years ago

Problem/Motivation

I installed Drupal and enabled Path and Content Translation modules. I went to the content language config page and saw this:

My thoughts: This makes no sense... Translation for URL aliases is enabled. But it is not supported. Maybe I should disable it since it is not supported? But it was enabled by default, so I guess it is safer to leave it like this.

To be sure that isn't something I made wrong, I installed Drupal with demo_umami profile. Same result.

Proposed resolution

¯\_(ツ)_/¯

Questions

Could anyone please explain why it currently works like this?

💬 Support request
Status

Postponed: needs info

Version

10.1

Component
Content translation 

Last updated about 12 hours ago

No maintainer
Created by

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.

  • 🇺🇸United States scottop

    I have this same problem in Drupal 10.1. Actually, my custom paths no not work, and I think it is a translation problem.

    I had other problems that might be related, but I don't know where to go to look. When I looks at custom fields in entities, there were errors saying that they could not be translated because there was a language mismatch between the field and the underlying storage. Basically, when I started setting things up I had "la" as the language, but when I added some fields I was using the "en" interface, so the fields got "en", even though I had created them earlier "la" storage (I was reusing them in other content types).

    The solution was to use drush to fix the field language:

    drush cset field.field.node.dates.field_type langcode la
    

    Is there a way to check for a language mismatch in the path settings and to fix it with drush?

  • This looks perhaps like a bug report. Can someone verify this on a "fresh" install of latest Drupal version?

  • 🇮🇳India ankithashetty Karnataka, India

    @cilefen, just checked, and am seeing the same message as reported in IS.

  • 🇺🇸United States caspervoogt

    I'm seeing this on D10.3.

    I noticed that if I enable translation on URL aliases, they do work. I can create a French alias for an English URL, for example.

    So it seems maybe the only issue (at least in my case) is that /admin/config/regional/content-language incorrectly shows "URL alias (Translation is not supported)." ... when it apparently *is* supported.

Production build 0.71.5 2024