Added methods to change the language, and detect current language