How can create entity for list of language and set the language preference in chosen language

How can I create an entity for switching conversion languages at the beginning of the chat conversion, I have tried to list the languages in message node, but this is not working. I have tried using koreUtil.getCurrentOptions library template but only language is shown in response, and it didn’t switch to language which user was chosen to want to create the entity and in that buttons are available for list of languages then user select language and further flow is run in that language only so how can we do that in XO platform?