THIS IS A PROTOTYPE.
Sample usage in Groovy:
g = new info.magnolia.i18nsystem.tools.GenerateTranslationFilesImpl()
manClass = info.magnolia.ui.api.app.registry.AppDescriptorRegistry.class
man = info.magnolia.objectfactory.Components.getSingleton(manClass)
apps = man.getAppDescriptors()
apps.each { app -> res = g.generateFor(app,null,null); res.actions.each { println it.dump() }; println '' }
Tools could also (potentially) do:
* manage bootstrap files (load objects off of them, modify them, ...)
* inspect objects and report duplicate keys, unused keys, ...