Sociolinguistic and Typological Perspectives on Language Variation