---
title: "localizedAssetPacks(for:)"
framework: backgroundassets
role: symbol
role_heading: Instance Method
path: "backgroundassets/assetpackmanifest/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.

## Declaration

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

## Parameters

- `language`: The language.

## Mentioned in

Reducing download and storage demands with localized asset packs

## Return Value

Return Value The localized asset packs.

## Discussion

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

## See Also

### Getting localized asset packs

- [localizedAssetPacks](backgroundassets/assetpackmanifest/localizedassetpacks.md)
