---
title: dominantLanguage
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsorthography/dominantlanguage
---

# dominantLanguage

The first language in the list of languages for the dominant script.

## Declaration

```swift
var dominantLanguage: String { get }
```

## Discussion

Discussion The value of this property is a BCP-47 language tag, such as "en" or "fr", that identifies the dominant language.

## See Also

### Determining Correspondences Between Languages and Scripts

- [languageMap](foundation/nsorthography/languagemap.md)
- [dominantScript](foundation/nsorthography/dominantscript.md)
- [dominantLanguage(forScript:)](foundation/nsorthography/dominantlanguage(forscript:).md)
- [languages(forScript:)](foundation/nsorthography/languages(forscript:).md)
- [allScripts](foundation/nsorthography/allscripts.md)
- [allLanguages](foundation/nsorthography/alllanguages.md)
