How to create a switch for languages