Skip to content

Migrating away from modeltranslation#423

Open
KalobTaulien wants to merge 1 commit intowagtail:mainfrom
KalobTaulien:modeltranslation-docs
Open

Migrating away from modeltranslation#423
KalobTaulien wants to merge 1 commit intowagtail:mainfrom
KalobTaulien:modeltranslation-docs

Conversation

@KalobTaulien
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
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
Copy Markdown

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
Copy Markdown
Collaborator

zerolab commented Nov 26, 2021

@KalobTaulien do you have time to revisit this PR?

@benjaoming
Copy link
Copy Markdown

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
Copy Markdown
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