Skip to content

New: Add property based translation connector#77

Open
jonnitto wants to merge 3 commits intositegeist:2.0from
jonnitto:feature/translateable_connector_properties
Open

New: Add property based translation connector#77
jonnitto wants to merge 3 commits intositegeist:2.0from
jonnitto:feature/translateable_connector_properties

Conversation

@jonnitto
Copy link

@jonnitto jonnitto commented Oct 14, 2025

This adds also an array-based connector interface.

With this change, it is possible to add property connector on a property basis. Great for editors who save data as an array and for Objects who doesn't have a fixed data set by the object (Like the Repeatable object from the repeatable editor)

This can be achieved by setting your connector like this

customProperty:
  options:
    automaticTranslation: true
    translationConnector: 'Foo\Bar\Translation\CustomPropertyConnector'

This adds also an array-based connector interface.

With this change, it is possible to add property connector on a property basis. Great for editors who save data as an array and for Objects who doesn't have a fixed data set by the object (Like the Repeatable object from the repeatable editor)
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.

1 participant