Open gade01 opened 3 years ago
It's already there for monolingual files, see https://docs.weblate.org/en/latest/admin/addons.html#remove-blank-strings
The problem is that for bilingual files, Weblate offers for translation strings present in the file. When these would be removed, they would not be offered for translation.
I see. That makes sense.
So we need something to do this when pushing from Weblate to the upstream repo?
I'm not sure what would be the best approach here. Either we add support in Weblate to handle bilingual files similarly as monolingual (show all strings from the base file and add translated ones on demand) or provide some way to export files to suit your needs.
This issue has been put aside. It is currently unclear if it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate. Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
It would be a great feature to be able to remove empty/untranslated strings from bilingual po files:
This would reduce file sizes and traffic.