Sanitize locale