You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When translating a page, the values of additional fields like visible_for, is_public, and author_visible are copied to the translated page. However, they're not kept in sync automatically and using the sync translations button in the admin interface does not update these fields, either. Since the edit view of a page that is a translation of another page differs from the normal edit view, the values can't even be changed manually. On the example of visible_for, this means that the translation of a page could be invisible for everybody, if the translation has been created before the permissions on the original page have been set.
This issue seems to affect all fields except from the body and all types of pages. For fields like visible_for this is caused by the type (ManyToManyFields are not synced automatically according to https://www.wagtail-localize.org/concept/translatable-fields-autogen/), for the boolean fields I haven't found out what is the issue yet.
A temporal workaround is to edit the translated page, click the arrow next to the "Save draft"/"Publish" button and select "Stop synced translation". This will take you to the normal edit view where one can adjust all fields to their liking. To resume the normal translation of the page body, just select "Start synced translation". The values of all non-synced fields seem to be left untouched, but changes made to the translated page body will be lost!
When translating a page, the values of additional fields like
visible_for
,is_public
, andauthor_visible
are copied to the translated page. However, they're not kept in sync automatically and using the sync translations button in the admin interface does not update these fields, either. Since the edit view of a page that is a translation of another page differs from the normal edit view, the values can't even be changed manually. On the example ofvisible_for
, this means that the translation of a page could be invisible for everybody, if the translation has been created before the permissions on the original page have been set.This issue seems to affect all fields except from the body and all types of pages. For fields like
visible_for
this is caused by the type (ManyToManyField
s are not synced automatically according to https://www.wagtail-localize.org/concept/translatable-fields-autogen/), for the boolean fields I haven't found out what is the issue yet.A temporal workaround is to edit the translated page, click the arrow next to the "Save draft"/"Publish" button and select "Stop synced translation". This will take you to the normal edit view where one can adjust all fields to their liking. To resume the normal translation of the page body, just select "Start synced translation". The values of all non-synced fields seem to be left untouched, but changes made to the translated page body will be lost!
As a permanent fix, I think we have to specify translatable and synced fields as described in https://www.wagtail-localize.org/how-to/field-configuration/.
Steps to reproduce
The text was updated successfully, but these errors were encountered: