<!--
{
  "availability" : [
    "iOS: 3.0.0 -",
    "iPadOS: 3.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreData",
  "identifier" : "/documentation/CoreData/NSManagedObjectModel/localizationDictionary",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Data"
    ],
    "preciseIdentifier" : "c:objc(cs)NSManagedObjectModel(py)localizationDictionary"
  },
  "title" : "localizationDictionary"
}
-->

# localizationDictionary

The localization dictionary of the model.

```
var localizationDictionary: [String : String]? { get set }
```

## Discussion

The following table describes the key and value pattern for the localization dictionary.

|Key                                                  |Value                  |Note|
|-----------------------------------------------------|-----------------------|----|
|“Entity/NonLocalizedEntityName”                      |“LocalizedEntityName”  |    |
|“Property/NonLocalizedPropertyName/Entity/EntityName”|“LocalizedPropertyName”|(1) |
|“Property/NonLocalizedPropertyName”                  |“LocalizedPropertyName”|    |
|“ErrorString/NonLocalizedErrorString”                |“LocalizedErrorString” |    |

(1) For properties in different entities with the same non-localized name but that should have different localized names.

### Special Considerations

In OS X v10.4, `localizationDictionary` may return `nil` until Core Data lazily loads the dictionary for its own purposes (for example, reporting a localized error).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)