---
title: NSLocale.LanguageDirection
framework: foundation
role: symbol
role_heading: Enumeration
path: foundation/nslocale/languagedirection
---

# NSLocale.LanguageDirection

The directions that a language may take across a page of text.

## Declaration

```swift
enum LanguageDirection
```

## Overview

Overview Use these constants with the methods lineDirection(forLanguage:) and characterDirection(forLanguage:).

## Topics

### Constants

- [NSLocale.LanguageDirection.unknown](foundation/nslocale/languagedirection/unknown.md)
- [NSLocale.LanguageDirection.leftToRight](foundation/nslocale/languagedirection/lefttoright.md)
- [NSLocale.LanguageDirection.rightToLeft](foundation/nslocale/languagedirection/righttoleft.md)
- [NSLocale.LanguageDirection.topToBottom](foundation/nslocale/languagedirection/toptobottom.md)
- [NSLocale.LanguageDirection.bottomToTop](foundation/nslocale/languagedirection/bottomtotop.md)

### Initializers

- [init(rawValue:)](foundation/nslocale/languagedirection/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Getting line and character direction for a language

- [characterDirection(forLanguage:)](foundation/locale/characterdirection(forlanguage:).md)
- [lineDirection(forLanguage:)](foundation/locale/linedirection(forlanguage:).md)
- [Locale.LanguageDirection](foundation/locale/languagedirection.md)
