Problem/Motivation
A field (on a content type) can be configured to allow users to translate this field or not by ticking Users may translate this field.
If the Allowed number of values is set to "1", then the label of that field is changed on a translation form with an added (all languages) to indicate that a change in this field will affect all languages.
But when the allowed number of values is set to any other number or to unlimited, then this hint is missing.
In this screen shot, the first taxonomy reference allows one value, the second multiple. The hint (alle talen/all languages) is only displayed in the first.
Proposed resolution
Add (all languages) to the display of multiple values as well.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#2 | add_field_all_languages_on_field_multiple.patch | 698 bytes | toufik74 |
screenshot-fpp nightingale 2016-05-30 22-38-25.png | 11.29 KB | ifrik |
Comments
Comment #2
toufik74 CreditAttribution: toufik74 as a volunteer and commentedHi, you can find a patch wich fix this bug.
Comment #3
ifrikHi micka2607,
thanks for providing a patch. You should set the status to "Needs review". That will trigger the automatic testing and reviewing by others. Once it has been reviewed, one of the core committers can commit it, and then it will be set to "Fixed", meaning that it is fixed in the code itself.
Comment #5
joachim CreditAttribution: joachim at Torchbox commentedUpping to major, as this surely causes confusion in end-users who could change a value in one translation, and then not understand why the change shows up in another.
The patch needs work, as I don't think it's doing the right thing.
Here's the current code with my comments on what's going wrong:
I think the best fix might be to expand the conditions for the first block, and add cases for elements that are themed rather than having a form element type.