---
title: "CFBundleCopyBundleLocalizations(_:)"
framework: corefoundation
role: symbol
role_heading: Function
path: "corefoundation/cfbundlecopybundlelocalizations(_:)"
---

# CFBundleCopyBundleLocalizations(_:)

Returns an array containing a bundle’s localizations.

## Declaration

```swift
func CFBundleCopyBundleLocalizations(_ bundle: CFBundle!) -> CFArray!
```

## Parameters

- `bundle`: The bundle to examine.

## Return Value

Return Value An array containing bundle’s localizations. Ownership follows the The Create Rule.

## Discussion

Discussion The array returned by this function is typically passed as a parameter to either the CFBundleCopyPreferredLocalizationsFromArray(_:) or CFBundleCopyLocalizationsForPreferences(_:_:) function.

## See Also

### Managing Localizations

- [CFBundleCopyLocalizedString(_:_:_:_:)](corefoundation/cfbundlecopylocalizedstring(_:_:_:_:).md)
- [CFBundleCopyLocalizationsForPreferences(_:_:)](corefoundation/cfbundlecopylocalizationsforpreferences(_:_:).md)
- [CFBundleCopyLocalizationsForURL(_:)](corefoundation/cfbundlecopylocalizationsforurl(_:).md)
- [CFBundleCopyPreferredLocalizationsFromArray(_:)](corefoundation/cfbundlecopypreferredlocalizationsfromarray(_:).md)
