# LanguageCode

Property in [Dialogue](https://docs.yarnspinner.dev/2.0/api/csharp/yarn/yarn.dialogue)

## Summary

Gets or sets the [Dialogue](https://docs.yarnspinner.dev/2.0/api/csharp/yarn/yarn.dialogue) 's locale, as an IETF BCP 47 code.

```csharp
public string LanguageCode { get; set; }
```

## Remarks

This code is used to determine how the `plural` and `ordinal` markers determine the plural class of numbers.

For example, the code "en-US" represents the English language as used in the United States.
