Replies: 1 comment
-
This would be very useful ! I don't know if I should reply in here. Should we create an issue for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a site with 1000's of edited translated versions of my
class LocationPage(Page):
model , about half are just 'alias' version of the source language with the other half being translated either partially or fully.If I add a new field to LocationPage and run my db migrations then I see many warning about the translated page content being out of sync with the source model
I know this can be fixed on a page-by-page basis through the "sync translated pages" option on the source page.
However this will take a very long time to do through the interface....
Is there a 'proper' way to perform this in bulk , which could be written into a data migration?
Also I have run into error using "sync translated pages" when the source model has had a field removed?
wagtail-localize/wagtail_localize/segments/ingest.py
Line 230 in 8ee52c8
Is failing because there is a reference to a field on the source model that no longer exists
I'm not sure how best to handle migrations with regard to my translated content?
Beta Was this translation helpful? Give feedback.
All reactions