case insensitive locale check