Added language switcher and fixed error where the user language was not saved correctly