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

> The LocaleTextMethods type of @salmonui/data-grid/engine.

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

```ts
import type { LocaleTextMethods } 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: type

```ts
type LocaleTextMethods<Row> = {
    format(ctx: ModuleContext<Row>, key: string, params?: LocaleTextParams): string;
    get(ctx: ModuleContext<Row>): LocaleText;
};
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `format` | `format(ctx: ModuleContext<Row>, key: string, params?: LocaleTextParams): string;` |  | A message with placeholders filled, in the grid locale. |
| `get` | `get(ctx: ModuleContext<Row>): LocaleText;` |  |  |
