Problem/Motivation

Content translation module displays warning messages "Fields that apply to all languages are hidden to avoid conflicting changes. Edit them on the original language form." if the " Hide non translatable fields on translation forms" is enabled for editing CT and you are editing a translation. But the same warning message appears also on the other pages if you are leaving edit form, e.g. if you are clicking save, preview, delete buttons. It's a bit confusing to see these messages behind the entity edit form.

Proposed resolution

According to the current implementation of displaying these messages the quick and suitable way for me is to move them into the form element. In this case, we will ensure that these messages display only withing the entity edit form.

CommentFileSizeAuthor
#3 3155452-3.patch1.38 KBid.aleks

Comments

id.aleks created an issue. See original summary.

id.aleks’s picture

Version: 9.0.x-dev » 9.1.x-dev
id.aleks’s picture

Component: config.module » content_translation.module
StatusFileSize
new1.38 KB

Attaching a patch. If the proposed resolution is ok for drupal maintainers we need to update module tests accordingly.

himanshu_sindhwani’s picture

Status: Active » Needs review
id.aleks’s picture

Status: Needs review » Closed (duplicate)

After additional investigation, we realized that we have another issue for the mentioned problem https://www.drupal.org/project/drupal/issues/3002571. That's why I'm closing it as a duplicate.

id.aleks’s picture