I stumbled upon this module. As systems become more complex, there is a bigger need for cleanup tools like these. Thanks!
How about a feature to remove unused translations?
Remove all po-files for inactive translations:
drush cu-po
Remove po-files for specified language(s):
drush cu-po langcode
langcode : (optional) ISO language code(s), 'all' or 'inactive'. Defaults to 'inactive'
Remove po-files for specified language(s) and project(s):
drush cu-po --langcode langcode1 langcode2 --project project1 project2
The Drupal translations are growing in number and size. We may grow to a situation where po-files will no longer be included in the project packages, but can be obtained from localize.drupal.org (manually or by means of l10n_update module). But until that time a lot of developers/builders will feel the need to clean up the po's they do not use.
Comments
Comment #1
Chris CharltonI agree; I like this idea. Patches welcome otherwise I'll add this to the roadmap.
Comment #2
Chris CharltonI suggest we wait and see what happens now that http://localize.drupal.org is live.