function registerMessageCatalogs(catalogs) {
    var promises = catalogs.map(function(catalog) {
        return registerMessageCatalog(catalog.namespace,catalog.dir,catalog.file).catch(err => {});
    });
    return Promise.all(promises);
}
Register multiple message catalogs with i18n.
@memberof @node-red/util_i18n