He worked in Shanghai from 1931 until the outbreak of the Second World War in Europe in 1939 . From 1931 until the outbreak of World War II in Europe in 1939 , he worked in Shanghai . From 1931 to the outbreak of the Second World War in Shanghai in 1939 , he worked in Europe .