check for language consistency