adjusting the language switch on index and irchat