---
title: AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/attributescopes/foundationattributes/languageidentifierattribute
---

# AttributeScopes.FoundationAttributes.LanguageIdentifierAttribute

A type for using a language identifier as an attribute.

## Declaration

```swift
@frozen enum LanguageIdentifierAttribute
```

## Relationships

### Conforms To

- [AttributedStringKey](foundation/attributedstringkey.md)
- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [DecodableAttributedStringKey](foundation/decodableattributedstringkey.md)
- [EncodableAttributedStringKey](foundation/encodableattributedstringkey.md)
- [Escapable](swift/escapable.md)
- [MarkdownDecodableAttributedStringKey](foundation/markdowndecodableattributedstringkey.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Using language attributes

- [languageIdentifier](foundation/attributescopes/foundationattributes/languageidentifier.md)
