---
id: "T:cAlgo.API.LanguageChangedEventArgs"
kind: "class"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/EventArgs/LanguageChangedEventArgs/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# LanguageChangedEventArgs (class)

Provides data for the language changed event.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public class LanguageChangedEventArgs
```

Available since cAlgo.API 5.2.

## Examples

C#:

```csharp
protected override void OnStart()
{
    Application.LanguageChanged += OnLanguageChanged;
}

private void OnLanguageChanged(LanguageChangedEventArgs args)
{
    Print("Platform language changed to {0}", args.Language.CultureName);
}
```

Python:

```python
def on_start(self):
    api.Application.LanguageChanged += self.on_language_changed

def on_language_changed(self, args):
    api.Print(f"Platform language changed to {args.Language.CultureName}")
```

## Properties

- `public Language Language {get;}` — Gets the language. [details](https://help.ctrader.com/ctrader-algo/references/EventArgs/LanguageChangedEventArgs/Language/index.md)

