}
DefaultConfiguration root = new DefaultConfiguration("root");
DefaultConfiguration defconf = new DefaultConfiguration("catalogues");
defconf.setAttribute("default", "default");
root.addChild(defconf);
PortalToolManager ptm = null;
try {
ptm = (PortalToolManager) this.manager.lookup(PortalToolManager.ROLE);
List i18nc = ptm.getI18n();
for(Iterator it = i18nc.iterator(); it.hasNext();) {
PortalToolCatalogue ptc = (PortalToolCatalogue) it.next();
DefaultConfiguration catConf = new DefaultConfiguration("catalogue");
catConf.setAttribute("id", ptc.getId());
catConf.setAttribute("name", ptc.getName());