# resolveLocale (@salmonui/data-grid/engine/locale)

> The resolveLocale function of @salmonui/data-grid/engine/locale: Resolves the locale props to the engine options (locale, direction, currency, timeZone) and the text.

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

```ts
import { resolveLocale } from '@salmonui/data-grid/engine/locale';
```

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

## Reference

Kind: function

```ts
function resolveLocale(input?: LocaleInput): ResolvedLocale;
```

Resolves the locale props to the engine options (`locale`, `direction`, `currency`, `timeZone`) and the text.
