Better handling of language cases in analytics