Wrong link to taxonomy term where name is not translatable

Created on 20 December 2024, 1 day ago

Problem/Motivation

When the name of taxonomy terms is set to not translatable, the URL link to the taxonomy term is wrong, it is always in the default language.

Steps to reproduce

A multilanguage site.
Set the name in a taxonomy vocabulary as not translatable.
Create a term T1 in default language.
Translate T1 in the secondary language.
Create a view of terms where the term name has a link to the term itself:
- T1 in default language has a link like /taxonomy/term/1 (OK)
- T1 in secondary language has the same link, instead of //term/1", that points to the correct page where the term has the fixed name but other fields of the term can be translated.

Proposed resolution

Fix, I don't know if it's an issue of taxonomy or drupal language

Remaining tasks

Test

User interface changes

No

Introduced terminology

No

API changes

No

Data model changes

No

Release notes snippet

N/A

🐛 Bug report
Status

Active

Version

11.1 🔥

Component

taxonomy.module

Created by

🇮🇹Italy giuse69

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

Comments & Activities

Production build 0.71.5 2024