# Change App Language

{% hint style="warning" %}
[Multi Language](https://help.twinr.dev/extensions/multi-language) feature must be enable to use this JS Bridge.
{% endhint %}

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.

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

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