Open privatemaker opened 4 days ago
@privatemaker it seems that the problem is with the widget list
. This one does not support i18n: duplicate
. Itself and all its children should thus have i18n: true
.
This is mentioned in docs like this:
List widgets only support
i18n: true
.i18n
configuration on sub fields is ignored.
I would say that the docs are ok, but we could improve the error message.
Thanks for investigating. I did get it working by trial and error of eliminating all instances of it and slow re-adding on different fields. But this is a bit random and wacky.
So, I think the docs could be improved a bit and will send a pull-request 😄
Describe the bug
As per #7291 upon recently trying to configure a i18n site with the new
i18n: duplicate
value on a per-field basis as per the i18n Documentation, I discovered it causes my config to fail to parse.Expected behavior
Setting
i18n: duplicate
should not cause config to fail to parse and should duplicate fields in a read-only fashion in the cloned page.Screenshots
Applicable Versions:
CMS configuration
If I change any of the
i18n: true
values in the fields toi18n: duplicate
I get the broken config parsing error shown above.