Skip to content

FEATURE: Sync nodes during retranslation - #105

Merged
mficzel merged 1 commit into
2.0from
feature/syncOnRetranslation
Aug 25, 2026
Merged

mficzel merged 1 commit into
2.0from
feature/syncOnRetranslation

Conversation

@mficzel

@mficzel mficzel commented Aug 25, 2026

Copy link
Copy Markdown
Member

Add additional configuration flags to configure the behavior during retranslation. As those features are invasive they are opt in and must be enabled explicitly.

Sitegeist:
  LostInTranslation:
    nodeTranslation:
      #
      # Configure behavior of the retranslation feature
      #
      retranslation:
        # Nodes that are not present in the reference language are deleted
        removeNodesWithoutSource: false
        # All properties that are not translated are copied from the reference
        synchronizeUntranslatedProperties: false
        # The position is synced with the reference
        synchronizeNodePosition: false
        # The visibility is synced with the reference
        synchronizeNodeVisibility: false
        # The nodetype is synced with the reference
        synchronizeNodeType: false

Add additional configuration flags to configure the behavior of during retranslation.
As those features are invasive they are opt in and must be enabled explicitly.

```
Sitegeist:
  LostInTranslation:
    nodeTranslation:
      #
      # Configure behavior of the retranslation feature
      #
      retranslation:
        # Nodes that are not present in the reference language are deleted
        removeNodesWithoutSource: false
        # All properties that are not translated are copied from the reference
        synchronizeUntranslatedProperties: false
        # The position is synced with the reference
        synchronizeNodePosition: false
        # The visibility is synced with the reference
        synchronizeNodeVisibility: false
        # The nodetype is synced with the reference
        synchronizeNodeType: false
```
@mficzel
mficzel force-pushed the feature/syncOnRetranslation branch from cbba8cf to afb8708 Compare August 25, 2026 12:56
@mficzel
mficzel merged commit 5311440 into 2.0 Aug 25, 2026
6 checks passed
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.

2 participants