added language dropdown functionality to select language and get current language in order to select the correct dropdown value