---
title: supportedLanguages
framework: foundationmodels
role: symbol
role_heading: Instance Property
path: foundationmodels/systemlanguagemodel/supportedlanguages
---

# supportedLanguages

Languages that the model supports.

## Declaration

```swift
final var supportedLanguages: Set<Locale.Language> { get }
```

## Mentioned in

Supporting languages and locales with Foundation Models

## Discussion

Discussion To check if a given locale is considered supported by the model, use supportsLocale(_:), which will also take into consideration language fallbacks.

## See Also

### Inspecting model capabilities

- [contextSize](foundationmodels/systemlanguagemodel/contextsize.md)
- [supportsLocale(_:)](foundationmodels/systemlanguagemodel/supportslocale(_:).md)
