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

Migrating away from modeltranslation #423

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

KalobTaulien
Copy link
Member

Documentation on how to migrate away from wagtail-modeltranslation.


Now that you have a non-localised version of Wagtail running, you are ready to install `wagtail-localize`.

See [Step 2. Configure Wagtail Localize](../../tutorial/2-configure-wagtail-localize.md) to get started installing
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should link to the installation guide here: https://www.wagtail-localize.org/how-to/installation/


!!! note "Careful with production data"

Make sure you run these steps in a testing environment first. Once the fields (above) are deleted from your
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you think it would be possible to generate locale trees using the translations already created for the modeltranslation site?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am currently working on migrating a production site from wagtail-modeltranslation to wagtail-localize and might write up what needs to be done to migrate the existing translations.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is great to hear @saevarom! Looking forward to it

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

so... how did it turn out 😛 ?

@zerolab
Copy link
Collaborator

zerolab commented Nov 26, 2021

@KalobTaulien do you have time to revisit this PR?

@benjaoming
Copy link

Thanks for starting this!

I'm not sure how I would benefit from the current state of the guide -- I would like to know how to a) migrate the actual translations so they're not just deleted and b) some guidance on how the 1:1 translation of modeltranslation and wagtail-localize compare.

@zerolab
Copy link
Collaborator

zerolab commented Dec 30, 2021

@benjaoming have you seen https://www.cnc.io/en/blog/wagtailtrans-to-wagtail-localize-migration ? While not directly modeltranslation, it should hopefully provide a good starting point on the process.

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

Successfully merging this pull request may close these issues.

6 participants