> 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/3.1/api/csharp/yarn.unity/yarn.unity.ilineprovider/yarn.unity.ilineprovider.localecode.md).

# LocaleCode

Property in [ILineProvider](/3.1/api/csharp/yarn.unity/yarn.unity.ilineprovider.md)

## Summary

Gets the line provider's current locale identifier, as a BCP-47 code.

```csharp
public string LocaleCode { get; }
```
