---
title: preferredLanguages
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/locale/preferredlanguages
---

# preferredLanguages

A list of the user’s preferred languages.

## Declaration

```swift
static var preferredLanguages: [String] { get }
```

## Discussion

Discussion note: Bundle is responsible for determining the language that your application will run in, based on the result of this API and combined with the languages your application supports.
