MSPs have been officially sworn into the Scottish Parliament in a range of languages including Polish and Mandarin.