> For the complete documentation index, see [llms.txt](https://help.twinr.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.twinr.dev/js-bridge/change-app-language.md).

# Change App Language

{% hint style="warning" %}
[Multi Language](/extensions/multi-language.md) 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");
```
