Replies: 1 comment 4 replies
-
Adding my workaround for this - in case it helps anyone else wanting to re-translate content using a machine translator. in wagtail_localize/views/edit_translation.py comment out this section at line 957
in line 972 of wagtail_localize/views/edit_translation.py change StringTranslation.get_or_create(....) to StringTranslation.update_or_create(...) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My intention is to use the DummyTranslator example on my wagtail site as a basis for creating a custom class of BaseMachineTranslator
I can translate the content with DummyTranslator via the admin edit page but after translation I cannot re-run the translator . How can I revert back to the initial aliased version of the page and then re-translate using an updated DummyTranslator (or any other subclass of BaseMachineTranslator) ?
Beta Was this translation helpful? Give feedback.
All reactions