Be more flexible in the allowed locale names