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

# AddLocalizedStrings(IEnumerable\<StringTableEntry>)

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

## Summary

Adds a collection of strings to the runtime string table.

```csharp
public void AddLocalizedStrings(IEnumerable<StringTableEntry> stringTableEntries)
```

## Remarks

This method updates the localisation's runtime string table, which is useful for adding or changing the localisation during gameplay or in a built player. It doesn't modify the asset on disk, and any changes made will be lost when gameplay ends.

## Parameters

| Name                                                          | Description                                                                                                     |
| ------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------- |
| strings                                                       | The collection of [StringTableEntry](/2.1/api/csharp/yarn.unity/yarn.unity.stringtableentry.md) objects to add. |
| `IEnumerable<Yarn.Unity.StringTableEntry>` stringTableEntries |                                                                                                                 |
