sitegeist / Sitegeist.LostInTranslation

Automatic Translations for Neos via DeeplApi
GNU General Public License v3.0
9 stars 9 forks source link

FEATURE: Overview about missing and outdated translations for Documents and Collections #35

Closed mficzel closed 6 months ago

mficzel commented 7 months ago

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.

content = Neos.Fusion:Join {
     info = Sitegeist.LostInTranslation:Collection.TranslationInformation {
          nodePath = 'content'
     }
     content = Neos.Neos:ContentCollection {
          nodePath = 'content'
     }
}

DDEV__WebPage_test

prototype Sitegeist.LostInTranslation:Document.TranslationInformation

Show informations about missing and outdated translations on document level. Allows to "translate missing" and "update outdated" nodes.

prototype Sitegeist.LostInTranslation:Collection.TranslationInformation

Show informations about missing and outdated translations on content collection level. Allows to "translate missing" and "update outdated" nodes.

In addition:

mficzel commented 7 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

gradinarufelix commented 7 months ago

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!