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

Source locale changed when translating nested pages - with no translated sub-tree created #793

Open
vellip opened this issue Mar 18, 2024 · 0 comments

Comments

@vellip
Copy link

vellip commented Mar 18, 2024

I don't know if this is actually a separate issue or not, but this always happens to me after I did what I described here.

I have a wagtail page with three models, that are nested within one another like so:

  1. Group
  2. Module
  3. Screen

When in sync mode and I just created a module with a screen, it also created the aliases for it in synced languages. However, after I do what I describe in #792 and go ahead to delete the aliased module, then go back to the source language and hit "Translate this page" it actually creates a translated page for the module, none for the screen and when going back to the source screen, the locale now changed from whatever it was previously to the target language.

Reproduction Repository: https://github.com/vellip/wtl-repro (database is included, superuser is admin:admin)

How to reproduce:
https://github.com/wagtail/wagtail-localize/assets/16354712/8876f84c-1911-47fd-97a9-99db3b78b721

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant