> For the complete documentation index, see [llms.txt](https://docs.yarnspinner.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yarnspinner.dev/2.4/api/csharp/yarn/yarn.dialogue/yarn.dialogue.languagecode.md).

# LanguageCode

Property in [Dialogue](/2.4/api/csharp/yarn/yarn.dialogue.md)

## Summary

Gets or sets the [Dialogue](/2.4/api/csharp/yarn/yarn.dialogue.md) '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.
