> 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/api/csharp/yarn.unity/yarn.unity.localization/yarn.unity.localization.getlocalizedstring.md).

# GetLocalizedString(string)

Method in [Localization](/api/csharp/yarn.unity/yarn.unity.localization.md)

## Summary

```csharp
public string? GetLocalizedString(string key)
```

## Parameters

| Name         | Description |
| ------------ | ----------- |
| `string` key |             |
