I can't delete webPage that have body translate
level-antoine opened this issue · 2 comments
I have installed modeltransaltion for my coderedcms app. However when i create webPage with 2 body with 2 different langages, I can publish this but i can't delete this page. One error appear and display :
TypeError at /admin/pages/4/delete/
'NoneType' object is not iterable
Thanks for your help.
Hi Antoine,
I also have recently started working with wagtailCRX and studied the options for it to support multi-languages.
You should know that wagtail-modeltranslation shouldn't be the way to go if you are starting a new project or implementing internationalization.
As it has been replaced by wagtail-localize, which is supported by the wagtail core team.
So if you are in this case, I highly recommend you to go with wagtail-localize
If you haven't done yet, you should start reading the related documentations
https://docs.wagtail.org/en/stable/advanced_topics/i18n.html
https://www.wagtail-localize.org
Finally, you should know that multi-language wont just work out of the box. I'm still learning this and have to tweak things to get WagtailCRX to work with internationalization.
Regards.
Closing this due to inactivity. Feel free to re-open if you are still experiencing the issue or have any new information. Thanks!