add SwitchLanguage API
add entry version and languages switching APIs