Change App Language

The Change App Language feature in Twinr allows you to dynamically switch the language of your app in real time, enhancing localization and improving the user experience for a global audience.

Multi Language feature must be enable to use this JS Bridge.

To make it easy for you to update the app language based on user preferences or location, we’ve exposed the JavaScript function twinr_language_onchange("LANGUAGE CODE"). This function allows you to switch languages instantly in your app.

To change the app language, call the twinr_language_onchange() function from your website’s JavaScript and pass the appropriate language code as a parameter.

// Change app language to Spanish
twinr_language_onchange("es");

// Change app language to French
twinr_language_onchange("fr");

Last updated