<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FoundationModels",
  "identifier" : "/documentation/FoundationModels/PrivateCloudComputeLanguageModel/supportedLanguages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Foundation Models",
      "FoundationModels"
    ],
    "preciseIdentifier" : "s:16FoundationModels32PrivateCloudComputeLanguageModelC18supportedLanguagesShy0A06LocaleV0F0VGvp"
  },
  "title" : "supportedLanguages"
}
-->

# supportedLanguages

Languages that the model supports.

```
nonisolated(nonsending) final var supportedLanguages: Set<Locale.Language> { get async throws }
```

## Discussion

To check if a given locale is considered supported by the model, use [`supportsLocale(_:)`](/documentation/FoundationModels/PrivateCloudComputeLanguageModel/supportsLocale(_:)),
which also takes language fallbacks into consideration.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)