---
title: CFLocaleCopyAvailableLocaleIdentifiers()
framework: corefoundation
role: symbol
role_heading: Function
path: corefoundation/cflocalecopyavailablelocaleidentifiers()
---

# CFLocaleCopyAvailableLocaleIdentifiers()

Returns an array of CFString objects that represents all locales for which locale data is available.

## Declaration

```swift
func CFLocaleCopyAvailableLocaleIdentifiers() -> CFArray!
```

## Return Value

Return Value An array of CFString objects that represents all locales for which locale data is available. Ownership follows the The Create Rule.
