Recently, the Chinese version of the language-learning app Duolingo introduced a course on Shanghainese, a dialect that calls the country's largest city home, but is spoken by increasingly few of its residents as the older generation dies off and Mandarin-speaking immigrants and youngsters populate the city. Unlike Cantonese, the first dialect introduced, Shanghainese is not taught in schools and does not have a pop culture equivalent of Hong Kong to sustain its presence in the popular imagination. Why is Duolingo becoming so keen on heritage preservation right now?