# LocaleInput (@salmonui/data-grid/engine)

> The LocaleInput interface of @salmonui/data-grid/engine.

Canonical: https://salmonui.dev/docs/reference/data-grid/engine/LocaleInput

```ts
import type { LocaleInput } from '@salmonui/data-grid/engine';
```

Also exported from `@salmonui/data-grid/engine/locale`.

Entry index: https://salmonui.dev/docs/reference/data-grid/engine (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/data-grid/engine.md).

## Reference

Kind: interface

```ts
interface LocaleInput extends FormatterOptions {
    readonly direction?: 'ltr' | 'rtl' | 'auto';
    readonly localeText?: Readonly<Record<string, unknown>>;
}
```

Members (5):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `direction` | `readonly direction?: 'ltr' \| 'rtl' \| 'auto';` | optional | `auto` derives the direction from the locale (like `dir="auto"`). Default `ltr`. |
| `localeText` | `readonly localeText?: Readonly<Record<string, unknown>>;` | optional | Text overrides over English. |
| `locale` | `locale?: string;` | optional, inherited | BCP 47 locale. Default `en-US`. |
| `currency` | `currency?: string;` | optional, inherited | ISO 4217 code for currency formats. Default `USD`. |
| `timeZone` | `timeZone?: string;` | optional, inherited | IANA time zone for dates. Default: the runtime zone (set it for deterministic SSR output). |
