This is not yet complete, it is missing the code to delete the files, trailing spaces and comments in spanish. (coming in next patch version)
There are also some things I'm not sure how should be done...
The translations in .notifyrc and .desktop files, should be removed or just keep the lines with an empty traslation?
Classes names, method names and variable names are OK?
Testing
It works as expected (except it does not yet clean the directory).