---
title: "writeAttributeLanguage(withValue:params:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdoorlock/writeattributelanguage(withvalue:params:completionhandler:)"
---

# writeAttributeLanguage(withValue:params:completionHandler:)

## Declaration

```swift
func writeAttributeLanguage(withValue value: String, params: MTRWriteParams?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeLanguage(withValue value: String, params: MTRWriteParams?) async throws
```
