Taming the Vernacular: From dialect to written standard language