<!--
{
  "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/AssetPackManifest/localizedAssetPacks(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Background Assets"
    ],
    "preciseIdentifier" : "s:16BackgroundAssets17AssetPackManifestV09localizedC5Packs3forShyAA0cD0VG10Foundation6LocaleV8LanguageV_tF"
  },
  "title" : "localizedAssetPacks(for:)"
}
-->

# localizedAssetPacks(for:)

Returns the subset of asset packs in this manifest that are available to download and that best match the specified language.

```
func localizedAssetPacks(for language: Locale.Language) -> Set<AssetPack>
```

## Parameters

`language`

The language.

## Return Value

The localized asset packs.

## Discussion

Depending on which languages are available, the returned asset packs’ respective languages may not exactly match the specified language.

---

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)