Relation field appears when translating a taxonomy term

Created on 24 August 2024, 7 months ago

Problem/Motivation

Parents of a taxonomy term cannot be changed when translating it.

Steps to reproduce

1) Create a taxonomy term in a certain vocabulary.
2) In Configuration > Region and language > Content language and translation: set "Hide non translatable fields on translation forms" to YES.
2) Click on the translate tab of the taxonomy term: the Relation field should not appear since the relations are not changeable in a translation but it does appear.

Proposed resolution

Hide the relation field in the translate tab when "Hide non translatable fields on translation forms" is set.

User interface changes

The above field hiding.

API changes

None

Data model changes

None

Release notes snippet

N/A

🐛 Bug report
Status

Active

Version

10.3

Component
Taxonomy 

Last updated 1 day ago

  • Maintained by
  • 🇺🇸United States @xjm
  • 🇬🇧United Kingdom @catch
Created by

🇮🇹Italy giuse69

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

Comments & Activities

  • Issue created by @giuse69
  • Assigned to sourav_paul
  • Issue was unassigned.
  • 🇮🇳India sourav_paul Kolkata

    I've checked this issue on D10.3.x & 11.0.1.
    Even after setting the 'Hide non translatable fields on translation forms' for the specific term.
    attaching ss for reference.

    It seems there is an issue in _content_translation_form_language_content_settings_form_alter() in content_translation.admin.inc file of content_translation module..

  • 🇮🇹Italy giuse69

    Hi @Sourav_Paul, additional fields to a taxonomy term are correctly hidden in the translation tab/form. Just for my understanding, what you found is that the problem lies in a part of Drupal that you cannot fix?

  • First commit to issue fork.
  • 🇳🇿New Zealand quietone

    Changes are made on on 11.x (our main development branch) first, and are then back ported as needed according to our policies.

Production build 0.71.5 2024