add 'locals' support for all categories.