Closed mficzel closed 6 months ago
@gradinarufelix Do you want to take a look at this. The main to the existing functionality is is that the decision about which properties are to be translated is moved to \Domain\TranslatableProperty\TranslatablePropertyNamesFactory
Other than that this mainly offers to translate missing nodes and update outdated ones
Thank you, @mficzel! I'll take a look at it next week. Still on my testing stuff. But once done, I'll also extend the tests to this!
This adds a fusion prototype that allows to render a short comparison for a content collection highlighting missing nodes and nodes that were updated more recently in the reference language.
To show the information in the backend you can render the
Sitegeist.LostInTranslation:Collection.TranslationInformation
adjacent to a ContentCollection.prototype
Sitegeist.LostInTranslation:Document.TranslationInformation
Show informations about missing and outdated translations on document level. Allows to "translate missing" and "update outdated" nodes.
node
: (Node, defaultdocumentNode
from fusion context) The document node that shall be comparedreferenceLanguage
: (string, default language preset) The preset used to compare againstprototype
Sitegeist.LostInTranslation:Collection.TranslationInformation
Show informations about missing and outdated translations on content collection level. Allows to "translate missing" and "update outdated" nodes.
nodePath
: (string, default null)node
: (Node, defaultnode
from fusion context)referenceLanguage
: (string, default language preset) The preset used to compare againstIn addition: