---
title: String.LocalizationOptions
framework: swift
role: symbol
role_heading: Structure
path: swift/string/localizationoptions
---

# String.LocalizationOptions

Options to apply when initializing a localized string.

## Declaration

```swift
struct LocalizationOptions
```

## Overview

Overview Use this type to configure how the system localizes strings. You can use the replacements property to provide replacement values for localizable strings that use the \(placeholder:) syntax.

## Topics

### Specifying localization behavior

- [replacements](swift/string/localizationoptions/replacements.md)

### Initializers

- [init()](swift/string/localizationoptions/init().md)

## See Also

### Creating a Localized String

- [init(localized:table:bundle:locale:comment:)](swift/string/init(localized:table:bundle:locale:comment:).md)
- [init(localized:options:table:bundle:locale:comment:)](swift/string/init(localized:options:table:bundle:locale:comment:).md)
- [String.LocalizationValue](swift/string/localizationvalue.md)
- [init(localized:defaultValue:table:bundle:locale:comment:)](swift/string/init(localized:defaultvalue:table:bundle:locale:comment:).md)
- [init(localized:defaultValue:options:table:bundle:locale:comment:)](swift/string/init(localized:defaultvalue:options:table:bundle:locale:comment:).md)
- [init(localized:)](swift/string/init(localized:).md)
- [init(localized:options:)](swift/string/init(localized:options:).md)
