---
title: "supportedLocale(equivalentTo:)"
framework: speech
role: symbol
role_heading: Type Method
path: "speech/dictationtranscriber/supportedlocale(equivalentto:)"
---

# supportedLocale(equivalentTo:)

A locale from the module’s supported locales equivalent to the given locale.

## Declaration

```swift
static func supportedLocale(equivalentTo locale: Locale) async -> Locale?
```

## Parameters

- `locale`: An arbitrary locale.

## Return Value

Return Value A locale in the supported locales list, or nil if there is no equivalent locale in that list.

## Discussion

Discussion Use this method to determine which of this module’s supported locales is equivalent to an arbitrary locale such as Locale.current. If there is no exact equivalent, this method will return a near-equivalent: a supported (and by preference already-installed) locale that shares the same Locale.LanguageCode value but has a different Locale.Region value. This may result in an unexpected transcription, such as between “color” and “colour”. tip: If you use this method, your application should ideally still provide a way for the user to correct the locale by selecting from the supported locales list.

## See Also

### Checking locale support

- [installedLocales](speech/dictationtranscriber/installedlocales.md)
- [supportedLocales](speech/dictationtranscriber/supportedlocales.md)
