---
title: "init(localized:options:table:bundle:locale:comment:including:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/attributedstring/init(localized:options:table:bundle:locale:comment:including:)-3zy6h"
---

# init(localized:options:table:bundle:locale:comment:including:)

## Declaration

```swift
init<S>(localized key: String.LocalizationValue, options: AttributedString.LocalizationOptions, table: String? = nil, bundle: Bundle? = nil, locale: Locale? = nil, comment: StaticString? = nil, including scope: KeyPath<AttributeScopes, S.Type>) where S : AttributeScope
```
