Problem/Motivation
--- !!! I am not talking about asynchronus translation !!!---
If the paragraph field is set as not translatable and Hide non translatable fields on translation forms is not checked then we could expect to edit the paragraph in any language:
-deleting an item in french will lead to a deleted item in all languages
-moving an item in dutch will lead to a moved item in all languages
-idem for adding an item
-Editing is already working in all languages
This is the way the other fields are working, this is why I tag this issue as a bug
Steps to reproduce
1-Create a paragraph field
2-Set it as non translatable
3-Uncheck Hide non translatable fields on translation forms for the content type of the field
4-Create a node and translate it
5-Go to the translated node, you will not be able to add, delete or move a paragraph item
Comments
Comment #2
duneblComment #3
jjose.quevedo commentedHi, I was trying to reproduce this issue, but I couldn't. It seems everything is working properly using vanilla Drupal. Here are some screenshots:
Comment #4
duneblSorry, I think I was not clear enough because it is not the case I was talking about. Here are the steps with more explainations:
1-Create a paragraph field inside a content type (ex: inside
my_node_type) using onlymy_parag_typeas paragraph type2-Set
my_parag_typeas non translatable inadmin/config/regional/content-language3-Uncheck
Hide non translatable fields on translation formsformy_node_typeinadmin/config/regional/content-language4-Create a node and translate it
5-Go to the translated node, you will not be able to add, delete or move a paragraph item of type
my_parag_typeComment #5
jjose.quevedo commentedThank you for providing the clarification. I attempted to reproduce the issue again, but I couldn't observe any problems using vanilla Drupal. I followed the steps you outlined, and I'm sharing the screenshots for your reference:
As you can see, the paragraph can't be added, deleted, or moved in the translated node. So, if there is anything specific you would like me to try or if you have any additional information, please let me know.
Comment #6
duneblThis is specifically the object of this bug: there is no reason to avoid the addition/deletion or move of the paragraph items.
Let explain this with another field type:
For exemple, if you have a multivalue field which is not a paragraph and if this field have the same settings:
Hide non translatable fields on translation formsunchecked.Then, in the translated node form, you can add/delete/move the items of this field... If this is a paragraph field you can't.
This is what a user is expecting: being able to manipulate non translatable fields in all languages if
Hide non translatable fields on translation formsis uncheckedComment #7
berdir> This is specifically the object of this bug: there is no reason to avoid the addition/deletion or move of the paragraph items.
Drupal does not allow to change multiple translations at once and that's exactly what would happen. This is not a bug, this is by design and will and can not be changed.
Comment #8
dunebl>Drupal does not allow to change multiple translations at once and that's exactly what would happen. This is not a bug, this is by design and will and can not be changed.
I don't follow you because:
I changed the category into feature request
Comment #9
thomaswalther commentedA translated node with paragraphs only should be able to edit/translate like a translator would do.
Changing the order or delete/add one item should ONLY be done from/with the original node (Original language)
After adding/deleting/moving a paragraph from the original language node, then the translator must visit the other translation (with the not yet setted translated values) and should have the fallback field and could now update this field for this language.
Otherwise, a translator would be able to delete/update/move the paragraphs, that's not the work of a translator.
Comment #10
dunebl@thomaswalther I am talking about not translatable paragraphs. Which should not be edited by translators.
We can compare this paragraph field with any other not translatable multi-value fields. A not translatable multi value field can be re-ordered in the translated node, we can also add/delete a value. This is the regular Drupal's behavior.
Why the not translatable paragraph fields does not follow the same rules?
Comment #11
emb03 commented@DuneBL wondering the same, reluctant to add a contrib module to enable this functionality on translated paragraphs.
Comment #12
meryem dibeHello, any updates on this issue ?
Comment #13
yonailoIn my case I just wanted to reorder the paragraphs of a translation to be different from the order of the original language.
I have installed the module paragraphs_asymmetric_translation_widgets to cope with this.