# LanguageOption

One language a host offers.

This is an interface exported by `@mapcairn/core`, checked against version 0.2.0.

## Signature

```ts
import type { LanguageOption } from "@mapcairn/core";
 
interface LanguageOption
```

## Properties

### direction

```ts
readonly direction?: "ltr" | "rtl";
```

Overrides the direction inferred from the tag when the host needs to.

### label

```ts
readonly label: string;
```

The language's name in that language (an endonym), for example `"Afrikaans"`.

### tag

```ts
readonly tag: string;
```

The BCP 47 tag, for example `"en-GB"` or `"af"`.

Source: [packages/core/src/messages/languageCatalogue.ts:6](https://github.com/MapCairn/mapcairn/blob/main/packages/core/src/messages/languageCatalogue.ts#L6)
