---
title: Locale.IdentifierType
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/locale/identifiertype
---

# Locale.IdentifierType

A type that indicates the standard that defines a locale’s identifier.

## Declaration

```swift
enum IdentifierType
```

## Topics

### Standard Identifier Types

- [Locale.IdentifierType.icu](foundation/locale/identifiertype/icu.md)
- [Locale.IdentifierType.cldr](foundation/locale/identifiertype/cldr.md)
- [Locale.IdentifierType.bcp47](foundation/locale/identifiertype/bcp47.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Escapable](swift/escapable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Converting between identifiers

- [canonicalIdentifier(from:)](foundation/locale/canonicalidentifier(from:).md)
- [components(fromIdentifier:)](foundation/locale/components(fromidentifier:).md)
- [identifier(fromComponents:)](foundation/locale/identifier(fromcomponents:).md)
- [identifier(_:from:)](foundation/locale/identifier(_:from:).md)
- [canonicalLanguageIdentifier(from:)](foundation/locale/canonicallanguageidentifier(from:).md)
- [identifier(fromWindowsLocaleCode:)](foundation/locale/identifier(fromwindowslocalecode:).md)
- [windowsLocaleCode(fromIdentifier:)](foundation/locale/windowslocalecode(fromidentifier:).md)
