sets language on select change