Make exposure of translation meta fields conditional

Created on 8 May 2018, over 6 years ago
Updated 27 August 2024, 12 days ago

Problem/Motivation

On certain entity types, the Published, Authored by, and Authored on fields are displayed twice on the translation form. This is confusing to the users and the behavior after saving is unclear concerning which value of the two is kept.

Steps to reproduce

Set up a multilingual website, allow Media to be translated. Upon translating a media, the 3 aforementioned fields are present twice on the form:

red: published status; blue: authoring information.

Proposed resolution

Show Published, Authored by, and Authored on fields only if those are not provided natively by the entity type.

Look of the form with the patch applied:

Note: nodes and comments currently have logic that hide the duplicated fields: this can be removed in this issue.

Note: blocks should have the published checkbox displayed even though the field is not supported in the blocks UI (see UI for publishing/unpublishing block_content blocks Needs work ) so for those, we force-display the field.

Remaining tasks

Should this be postponed on UI for publishing/unpublishing block_content blocks Needs work

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Needs review

Version

11.0 🔥

Component
Content translation 

Last updated 1 day ago

No maintainer
Created by

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