<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSLocale/LanguageDirection",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@E@NSLocaleLanguageDirection"
  },
  "title" : "NSLocale.LanguageDirection"
}
-->

# NSLocale.LanguageDirection

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

```
enum LanguageDirection
```

## Overview

Use these constants with the methods [`lineDirection(forLanguage:)`](/documentation/Foundation/NSLocale/lineDirection(forLanguage:)) and [`characterDirection(forLanguage:)`](/documentation/Foundation/NSLocale/characterDirection(forLanguage:)).

## Topics

### Constants

[`NSLocaleLanguageDirectionUnknown`](/documentation/Foundation/NSLocale/LanguageDirection/unknown)

The direction of the language is unknown.

[`NSLocaleLanguageDirectionLeftToRight`](/documentation/Foundation/NSLocale/LanguageDirection/leftToRight)

The language direction is from left to right.

[`NSLocaleLanguageDirectionRightToLeft`](/documentation/Foundation/NSLocale/LanguageDirection/rightToLeft)

The language direction is from right to left.

[`NSLocaleLanguageDirectionTopToBottom`](/documentation/Foundation/NSLocale/LanguageDirection/topToBottom)

The language direction is from top to bottom.

[`NSLocaleLanguageDirectionBottomToTop`](/documentation/Foundation/NSLocale/LanguageDirection/bottomToTop)

The language direction is from bottom to top.

## Relationships

### Conforms To

[`Equatable`](/documentation/Swift/Equatable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

---

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)