Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 292069

When configuring which parts of an image field are translatable, should we allow insane combinations?

$
0
0

Follow up for #1909218: add (all languages) hint to synchronized fields on translation add/edit form

Problem/Motivation

It is possible to independently configure which parts of an Image field are translatable: the File, Alternative text and Title.

Certain combinations are totally insane, for example: File is translatable and Alternative text is not.

If the user puts there site into this configuration it will likely lead to confusion!

Proposed resolution

Shall we protect the user from themselves?

If we decide to: I propose adding some Javascript to the "Content language settings" page to force Alternative text and Title to be translatable if File is.

Insane image field translation configuration

Remaining tasks

  • Decide: do we want to disallow this?
  • Create initial patch to add the Javascript

User interface changes

No UI changes

API changes

No API changes expected.

AttachmentSizeStatusTest resultOperations
Selection_052.png14.02 KBIgnored: Check issue status.NoneNone

Viewing all articles
Browse latest Browse all 292069

Trending Articles