add dropdown directive for language menu