Ensure it also works with an empty list for locales