neos/neos-ui#4155 will finally move all used translations to the Neos.Ui
That will leave the Neos.Neos package with some unused translations. But not only the now moved ones will be unused but there is a whole batch of unused translations as many features have been changed or removed in the Neos.Ui and their translation labels orphaned in Neos.
Thus we should attempt a simple regex extraction of the still used translation labels and identifiers (even if we would match ALL string literals this could work as a filter) and then remove the others.
Or better search each identifier from the xlf and try to find a literal match.
Then the unused ones can be removed.
The labels autoPublish and all the ckeditor things MUST be removed after that.
Maybe we should collect a list of things we dont want to keep and automate the removal in english as due to upmerges and an uncareful eye it can easily happen that we read all the translations from below if they have changes.
neos/neos-ui#4155 will finally move all used translations to the Neos.Ui
That will leave the Neos.Neos package with some unused translations. But not only the now moved ones will be unused but there is a whole batch of unused translations as many features have been changed or removed in the Neos.Ui and their translation labels orphaned in Neos.
Thus we should attempt a simple regex extraction of the still used translation labels and identifiers (even if we would match ALL string literals this could work as a filter) and then remove the others.
Or better search each identifier from the xlf and try to find a literal match.
Then the unused ones can be removed.
The labels
autoPublishand all the ckeditor things MUST be removed after that.Maybe we should collect a list of things we dont want to keep and automate the removal in english as due to upmerges and an uncareful eye it can easily happen that we read all the translations from below if they have changes.