- Issue created by @olorin.fr
- Assigned to bmahesh03121
- Status changed to Closed: works as designed
over 1 year ago 10:14am 6 August 2023 - ๐ฎ๐ณIndia bmahesh03121
Works as expected, after selecting an entity type you must select at least add default translation and one field. otherwise it will behave as default settings and will save the configuration.
- ๐ซ๐ทFrance olorin.fr
Where did you read that I was talking about entities types?
I never said anything about content types and fields (they work and the "Content" checkbox was already enabled in my case). I'm talking about the part above "Custom language settings". For example to activate translations on others components (menu, ...). - Issue was unassigned.
- Status changed to Needs review
over 1 year ago 5:46pm 8 August 2023 - ๐ฎ๐ณIndia bmahesh03121
apologies, let me clarify, after selecting or deselecting the elements at the top in 'Custom language settings', it will show or hide the details field translations settings. if you want to disable translations you can deselect the fields translations in below details section for particular element and can also set the default value for 'Default language' as the site's default language. after saving that it will not show the element as selected at the top 'Custom language settings'. i understand your issue now. that by changing the settings at the top, it should disable the whole translation. but I think the best way should be to review the fields and enable/disable the translations as required. instead of disabling the translations absolutely with non-recoverable translation loss issues. keeping this in review. please share your thoughts.
- Status changed to Postponed: needs info
over 1 year ago 5:42pm 9 August 2023 - ๐บ๐ธUnited States smustgrave
@olorin.fr does #4 answer your question?
- ๐บ๐ธUnited States dww
Pedantic nerd warning: โdataโ is already plural. ๐
- ๐ป๐ชVenezuela avasquez15
I got the same issue, but it was solve after checking the "Show language selector on create and edit pages" box, or selecting a default language, if you don't do any of those it will not save the config. I hope this help
- ๐ฎ๐นItaly trickfun
I got same issue with drupal 10.2
When i open "Content language and translation" page my taxonomy term "Collection type" is checked but i can't see the list of fields.
So i uncheck and check again the "collection type" checkbox but previous selections are lost."FAQ tags" checkbox isn't selected but i can see the fields.
Something wrong here.
Thank you - ๐ฎ๐นItaly trickfun
II get this error. Drupal 10.2.2
drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLUListElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:110 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLAnchorElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:110 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLUListElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:117 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLAnchorElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:117 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLUListElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:110 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLAnchorElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:110 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128 drupal.js?v=10.2.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'matches') at content_translation.admin.js?v=10.2.2:64:25 at Array.forEach (<anonymous>) at Object.check (content_translation.admin.js?v=10.2.2:57:43) at content_translation.admin.js?v=10.2.2:40:63 at Array.forEach (<anonymous>) at Object.attach (content_translation.admin.js?v=10.2.2:35:50) at drupal.js?v=10.2.2:166:24 at Array.forEach (<anonymous>) at Drupal.attachBehaviors (drupal.js?v=10.2.2:162:34) at HTMLAnchorElement.<anonymous> (ajax.js?v=10.2.2:1387:20) (anonymous) @ content_translation.admin.js?v=10.2.2:64 check @ content_translation.admin.js?v=10.2.2:57 (anonymous) @ content_translation.admin.js?v=10.2.2:40 attach @ content_translation.admin.js?v=10.2.2:35 (anonymous) @ drupal.js?v=10.2.2:166 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 setTimeout (async) Drupal.throwError @ drupal.js?v=10.2.2:63 (anonymous) @ drupal.js?v=10.2.2:168 Drupal.attachBehaviors @ drupal.js?v=10.2.2:162 (anonymous) @ ajax.js?v=10.2.2:1387 each @ jquery.min.js?v=3.7.1:2 each @ jquery.min.js?v=3.7.1:2 insert @ ajax.js?v=10.2.2:1385 (anonymous) @ ajax.js?v=10.2.2:1046 Promise.then (async) (anonymous) @ ajax.js?v=10.2.2:1039 Drupal.Ajax.commandExecutionQueue @ ajax.js?v=10.2.2:1036 Drupal.Ajax.success @ ajax.js?v=10.2.2:1095 e.success @ ajaxin.ajax.min.js?v=10.2.2:1 processReplacement @ big_pipe.js?v=10.2.2:84 checkMutationAndProcess @ big_pipe.js?v=10.2.2:117 (anonymous) @ big_pipe.js?v=10.2.2:129 processMutations @ big_pipe.js?v=10.2.2:128
- ๐ฎ๐นItaly trickfun
Any news here? it's impossible translate content.
Thank you Hi!
I'm facing the same issue here with drupal 10.2.2.
When i open "Content language and translation" /admin/config/regional/content-language , when I select some of the "Entity type" checkboxes, it shows the entities down. BUT, when I save its not saving, and also I cannot see the fields
So i uncheck and check again the "collection type" checkbox but previous selections are lost.Thank you.
- ๐ฎ๐นItaly trickfun
I have this error with this checkbox
<input id="edit-settings-media-audio-columns-thumbnail-file" class="form-checkbox form-booleโฆ-boolean--type-checkbox" data-drupal-selector="edit-settings-media-audio-columns-thumbnail-file" type="checkbox" name="settings[media][audio][columns][thumbnail][file]" value="file">
something with file field.
I hope helpThank you
- ๐ธ๐ฎSlovenia useernamee Ljubljana
Unfortunately the patch does not work for me. If I try to edit the fields of specific content/bundle, after saving the form all the fields are hidden and if I check and uncheck the bundle all the fields checked once again.
Anyways I think that the data is correct even though once the form reloads you can't see which fields are (un)checked. I did de-select some paragraphs fields, saved the form and then checked the values that were visually hidden and the fields were (un)checked correctly as I set them.
I guess it is inconvenient not to be able to see the field settings but the configuration is saved correctly.
- ๐ฆ๐ฒArmenia le72 Yerevan ๐ฆ๐ฒ
The issue is resolved in 10.2.3.
https://www.drupal.org/project/drupal/issues/3414415 ๐ Content language and translation AJAX expansion is backwards Fixed On drupal 10.2.4 have already fixed.
https://www.drupal.org/project/drupal/issues/3414415 ๐ Content language and translation AJAX expansion is backwards Fixed .- ๐ฎ๐นItaly trickfun
I have 10.2.4 but is not fixed.
Checkbox doesn't show fields. - ๐จ๐ญSwitzerland handkerchief
I have 10.2.4 and the same problem:
- go to /admin/config/regional/content-language
- Check Content checkbox
- Check contenttype page and some different fields you wish to translate
- click on save
- Now all the fields of the contenttype page are hidden and the main checkbox of that type checked
it is impossible to translate the website, the settings are not saved.
No error in the logs, what the hell is going on? - ๐จ๐ญSwitzerland handkerchief
This commit fixed the problem (after cache clear)
https://git.drupalcode.org/project/drupal/-/commit/61bc6f8e8cda4f708038c... - ๐ฌ๐งUnited Kingdom joehuggans Harrogate, UK
Not sure if I am seeing the same issue but the patch did not work.
I am unable to make changes to the form at /admin/config/regional/content-language
For example, if I turn off translation for redirect, save the form, the page reloads and the translation for redirect is still turned on.
Drupal core 10.2.4