<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "BackgroundAssets",
  "identifier" : "/documentation/BackgroundAssets/AssetPackManager/reconcilePreferredLanguages()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "s:16BackgroundAssets16AssetPackManagerC27reconcilePreferredLanguagesyyYaKF"
  },
  "title" : "reconcilePreferredLanguages()"
}
-->

# reconcilePreferredLanguages()

Reconciles the set of locally available asset packs with the current preferred languages.

```
func reconcilePreferredLanguages() async throws
```

## Discussion

This method downloads any missing localized asset packs, waits for those downloads to finish, and removes any unneeded ones. If you’ve overridden the preferred languages by setting [`resolvedLanguage`](/documentation/BackgroundAssets/AssetPackManager/resolvedLanguage), then this method will respect that. It won’t remove any localized asset packs that you’ve downloaded manually.

> Throws: When the set of locally available asset packs can’t be reconciled with the preferred languages. When the thrown error is an instance of ``doc://com.apple.backgroundassets/documentation/BackgroundAssets/AssetPackManager/LocalAvailabilityError``, it provides information about asset packs for which the system successfully ensured local availability and those for which the system couldn’t ensure local availability, with an underlying error for each failure.

---

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)