Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't delete webPage that have body translate #565

Open
level-antoine opened this issue Apr 4, 2023 · 1 comment
Open

I can't delete webPage that have body translate #565

level-antoine opened this issue Apr 4, 2023 · 1 comment
Labels
Type: Question Further information is requested

Comments

@level-antoine
Copy link

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.

@level-antoine level-antoine added the Type: Question Further information is requested label Apr 4, 2023
@redwired
Copy link

redwired commented Apr 12, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants