---
title: alertLocalizationKey
framework: cloudkit
role: symbol
role_heading: Instance Property
path: cloudkit/cknotification/alertlocalizationkey
---

# alertLocalizationKey

The key that identifies the localized text for the alert body.

## Declaration

```swift
var alertLocalizationKey: String? { get }
```

## Discussion

Discussion When the system delivers a push notification to your app, it gets the text for the alert body by looking up the specified key in your app’s Localizable.strings file. CloudKit ignores the value in alertBody if you set this property.

## See Also

### Accessing the Notification Info

- [alertBody](cloudkit/cknotification/alertbody.md)
- [alertLocalizationArgs](cloudkit/cknotification/alertlocalizationargs.md)
- [alertActionLocalizationKey](cloudkit/cknotification/alertactionlocalizationkey.md)
- [alertLaunchImage](cloudkit/cknotification/alertlaunchimage.md)
- [soundName](cloudkit/cknotification/soundname.md)
- [badge](cloudkit/cknotification/badge.md)
- [category](cloudkit/cknotification/category.md)
- [subscriptionID](cloudkit/cknotification/subscriptionid-16ygj.md)
- [subscriptionOwnerUserRecordID](cloudkit/cknotification/subscriptionowneruserrecordid.md)
- [title](cloudkit/cknotification/title.md)
- [titleLocalizationKey](cloudkit/cknotification/titlelocalizationkey.md)
- [titleLocalizationArgs](cloudkit/cknotification/titlelocalizationargs.md)
- [subtitle](cloudkit/cknotification/subtitle.md)
- [subtitleLocalizationKey](cloudkit/cknotification/subtitlelocalizationkey.md)
- [subtitleLocalizationArgs](cloudkit/cknotification/subtitlelocalizationargs.md)
