Taxonomy vocabulary translation local task tab not shown in UI

Created on 28 October 2016, over 8 years ago
Updated 23 April 2024, about 1 year ago

Problem/Motivation

There is a mismatch between how the taxonomy module defines its base route for local tasks and what the content translation module expects the base route to be, which results in the Taxonomy vocabulary translation page being invisible in the UI. For example, with translation enabled the Tags vocabulary admin pages show the List, Edit, Manage fields, Manage form display and Manage display tabs only. The translate page can only be accessed by going directly to example.com/admin/structure/taxonomy/manage/tags/translate.

This issue may be related: #2358923: Config translation module cannot deal with different base path β†’

Steps to reproduce

  1. Standard Drupal install
  2. Enabled translation of Taxonomy
  3. Go to the taxonomy vocabulary edit page
  4. See there is no translation tab

Proposed resolution

Add a hook_local_tasks_alter() to set base route 'entity.taxonomy_vocabulary.overview_form'

Remaining tasks

Review

User interface changes

Before

After

API changes

N/A

Data model changes

N/A

Release notes snippet

N/A

πŸ› Bug report
Status

Fixed

Version

11.0 πŸ”₯

Component
Config translationΒ  β†’

Last updated about 1 hour ago

Created by

πŸ‡ͺπŸ‡ΈSpain Peacog

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

Merge Requests

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