sitegeist / Sitegeist.LostInTranslation

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

consider deleted string contents when updating outdated translations #40

Closed hedayati-m closed 6 months ago

hedayati-m commented 6 months ago

In normal case the properties, which are empty are not considered as a candidate for translation in the destination and are ignored, which is plausible. But sometimes a property is empty because it has been removed by the editor. In this case the property in destination must also be removed.

In this PL it is checked when in source language a property is empty but has a value in destination, it won't be ignored and will be translated and as a consequence is cleaned up in destination.