---
title: availableLocaleIdentifiers
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nslocale/availablelocaleidentifiers
---

# availableLocaleIdentifiers

The list of locale identifiers available on the system.

## Declaration

```swift
class var availableLocaleIdentifiers: [String] { get }
```

## Discussion

Discussion A locale identifier starts with a language code, often includes a region code, and occasionally includes a script designator.  See Locale IDs for more information about the structure of a locale identifier. Use localizedString(forLocaleIdentifier:) to obtain a human readable description of any of the locale identifiers in this list.

## See Also

### Related Documentation

- [Internationalization and Localization Guide](apple-archive/documentation/MacOSX/Conceptual/BPInternational/Introduction.md)

### Getting Known Identifiers and Codes

- [isoCountryCodes](foundation/nslocale/isocountrycodes.md)
- [isoLanguageCodes](foundation/nslocale/isolanguagecodes.md)
- [isoCurrencyCodes](foundation/nslocale/isocurrencycodes.md)
- [commonISOCurrencyCodes](foundation/nslocale/commonisocurrencycodes.md)
