* flag locales as 'required' * allow bitmasks to be empty unless required * skip empty check in javascript