How to get current device language and change the text dynamically using Internationalization?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

I am getting the language which i have setup as default locale in visualizer settings but i am not getting the language based on current device language.

@Lillivn Dickens​ : You can go through the documentation for i18n. http://docs.kony.com/konylibrary/visualizer/viz_api_dev_guide/Default.htm#internationalization.htm%3FTocPath%3DInternationalization%2520API%7C_____0

The functions you are looking for are kony.i18n.getCurrentDeviceLocale and kony.i18n.setCurrentLocaleAsync.