Changed setLanguage from protected to public, otherwise it does not get called