The official language of Shanghai is standard Mandarin Chinese, as with many Chinese cities, but the local language of the Shanghai region is Shanghainese, a totally different language. Being a global city, you will find a lot of establishments with English-speaking staff. But, getting mandarin lessons would also be a great idea.