Implemented switching of language