-
Notifications
You must be signed in to change notification settings - Fork 58
Open
Description
Reading the documentation;
[--purge]
Whether to purge the strings that were extracted from the original source file. Defaults to true, use --no-purge to skip the removal.
[--update-mo-files]
Whether MO files should be updated as well after updating PO files. Only has an effect when used in combination with --purge.
Considering my observations, --purge is the default.
But WHY is this a thing in the first place.
I understand why Javascript strings would be removed from the MO file, as the MO is used in PHP only, however, removing the strings from the PO file removes the translations, and thus next run, from the JSON as well.
THIS IS BROKEN.
--no-purge should be the default
--purge should only remove from MO, never from PO.