Content translation local tasks are not getting displayed due to caching

Created on 21 September 2015, over 9 years ago
Updated 16 February 2025, 8 days ago

Follow-up to #2511516: Make local tasks and actions hooks provide cacheability metadata, to make the blocks showing them cacheable

Problem/Motivation

When we enable content translation for an item (node, menu, block etc from admin/config/regional/content-language), the local task tab isn't getting displayed until clear cache.

Proposed resolution

Clear the render cache when we submit the form that changes the translation settings for content so any user with permissions will see the updated tabs with or without the "translate" link.

🐛 Bug report
Status

Fixed

Version

8.0 ⚰️

Component

menu system

Created by

🇬🇧United Kingdom vijaycs85 London, UK

Live updates comments and jobs are added and updated live.
  • D8MI

    (Drupal 8 Multilingual Initiative) is the tag used by the multilingual initiative to mark core issues (and some contributed module issues). For versions other than Drupal 8, use the i18n (Internationalization) tag on issues which involve or affect multilingual / multinational support. That is preferred over Translation.

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.

Production build 0.71.5 2024