PKP Bugzilla – Bug 5879
Check for and remove unused keys
Last modified: 2012-09-21 16:00:35 PDT
We are moving to Git Issues for bug tracking in future releases. During transition, content will be in both tools. If you'd like to file a new bug, please create an issue.
Courtesy of http://pkp.sfu.ca/support/forum/viewtopic.php?f=8&t=6496&p=25057#p25074. There should be a way to check for and delete en_US locale keys that aren't used in the system. This should probably be done before any translation effort, to minimize work.
There used to be a shell script for this in tools/ but it was removed because it was pretty inaccurate -- it wouldn't be possible to comprehensively do this because some locale keys are built programmatically, but it might be good to dredge up the old tool and see what it says. However, deferring to the next release. We also need to consider that a lot of locale keys are in the PKP library, so e.g. the Harvester will come up with a lot of keys in lib-pkp that aren't used but are still needed for other apps.