> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/events/applanguagechanged.md).

# appLanguageChanged

Emitted when the user selects a different UI language.

#### Sample payload

```json
{
    "type": "appLanguageChanged",
    "data": {
        "language": "de"
    }
}
```

#### Sample subscription code

```javascript
sambaFrame.on('appLanguageChanged', (event) => {
  const data = event.data;
  console.log('New language is:', data.language);
});
```
